source: rtems/cpukit/posix/src/sched_getscheduler.c @ 8f6b7b51

4.104.115
Last change on this file since 8f6b7b51 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: 722 bytes
Line 
1/*
2 *  13.3.4 Get Scheduling Policy, P1003.1b-1993, p. 256
3 *
4 *  COPYRIGHT (c) 1989-2007.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <sched.h>
19#include <errno.h>
20
21#include <rtems/system.h>
22#include <rtems/score/tod.h>
23#include <rtems/score/thread.h>
24#include <rtems/seterr.h>
25#include <rtems/posix/priority.h>
26#include <rtems/posix/time.h>
27
28int sched_getscheduler(
29  pid_t                     pid __attribute__((unused))
30)
31{
32  rtems_set_errno_and_return_minus_one( ENOSYS );
33}
Note: See TracBrowser for help on using the repository browser.