4.104.115
Last change
on this file since 3bacb250 was
92f4671,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/02/09 at 10:04:24
|
Add attribute((unused)) to unused function args.
|
-
Property mode set to
100644
|
File size:
878 bytes
|
Line | |
---|
1 | /* |
---|
2 | * 13.3.3 Set Scheduling Policy and Scheduling Parameters, |
---|
3 | * P1003.1b-1993, p. 254 |
---|
4 | * |
---|
5 | * COPYRIGHT (c) 1989-2007. |
---|
6 | * On-Line Applications Research Corporation (OAR). |
---|
7 | * |
---|
8 | * The license and distribution terms for this file may be |
---|
9 | * found in the file LICENSE in this distribution or at |
---|
10 | * http://www.rtems.com/license/LICENSE. |
---|
11 | * |
---|
12 | * $Id$ |
---|
13 | */ |
---|
14 | |
---|
15 | #if HAVE_CONFIG_H |
---|
16 | #include "config.h" |
---|
17 | #endif |
---|
18 | |
---|
19 | #include <sched.h> |
---|
20 | #include <errno.h> |
---|
21 | |
---|
22 | #include <rtems/system.h> |
---|
23 | #include <rtems/score/tod.h> |
---|
24 | #include <rtems/score/thread.h> |
---|
25 | #include <rtems/seterr.h> |
---|
26 | #include <rtems/posix/priority.h> |
---|
27 | #include <rtems/posix/time.h> |
---|
28 | |
---|
29 | int sched_setscheduler( |
---|
30 | pid_t pid __attribute__((unused)), |
---|
31 | int policy __attribute__((unused)), |
---|
32 | const struct sched_param *param __attribute__((unused)) |
---|
33 | ) |
---|
34 | { |
---|
35 | rtems_set_errno_and_return_minus_one( ENOSYS ); |
---|
36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.