summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-04-03 05:58:06 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-04-03 05:58:06 +0000
commite8572cfdeb05c0ca9acef3699f3b9b4276bf327a (patch)
treea42d6b90d6e5243017b91c815692e9eae05dcef2 /cpukit/posix
parent2010-04-03 Joel Sherrill <joel.sherrill@oarcorp.org> (diff)
downloadrtems-e8572cfdeb05c0ca9acef3699f3b9b4276bf327a.tar.bz2
2010-04-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/sched.h: Remove. * posix/Makefile.am: Remove include/sched.h.
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/Makefile.am2
-rw-r--r--cpukit/posix/include/sched.h105
2 files changed, 1 insertions, 106 deletions
diff --git a/cpukit/posix/Makefile.am b/cpukit/posix/Makefile.am
index f2bf871bd3..f240fc5539 100644
--- a/cpukit/posix/Makefile.am
+++ b/cpukit/posix/Makefile.am
@@ -26,7 +26,7 @@ include_rtems_posix_HEADERS = include/rtems/posix/sigset.h
if HAS_PTHREADS
# include
-include_HEADERS = include/sched.h include/aio.h include/mqueue.h \
+include_HEADERS = include/aio.h include/mqueue.h \
include/semaphore.h include/devctl.h
# include/rtems/posix
diff --git a/cpukit/posix/include/sched.h b/cpukit/posix/include/sched.h
deleted file mode 100644
index 5db4864c31..0000000000
--- a/cpukit/posix/include/sched.h
+++ /dev/null
@@ -1,105 +0,0 @@
-/**
- * @file sched.h
- */
-
-/*
- * COPYRIGHT (c) 1989-2007.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- *
- * $Id$
- */
-
-
-#ifndef _SCHED_H
-#define _SCHED_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <unistd.h>
-
-#if defined(_POSIX_PRIORITY_SCHEDULING)
-
-#include <sys/types.h>
-#include <time.h>
-#include <sys/sched.h>
-#include <pthread.h>
-
-/*
- * 13.3.1 Set Scheduling Parameters, P1003.1b-1993, p. 252
- *
- */
-
-int sched_setparam(
- pid_t pid,
- const struct sched_param *param
-);
-
-/*
- * 13.3.2 Set Scheduling Parameters, P1003.1b-1993, p. 253
- */
-
-int sched_getparam(
- pid_t pid,
- struct sched_param *param
-);
-
-/*
- * 13.3.3 Set Scheduling Policy and Scheduling Parameters,
- * P1003.1b-1993, p. 254
- */
-
-int sched_setscheduler(
- pid_t pid,
- int policy,
- const struct sched_param *param
-);
-
-/*
- * 13.3.4 Get Scheduling Policy, P1003.1b-1993, p. 256
- */
-
-int sched_getscheduler(
- pid_t pid
-);
-
-/*
- * 13.3.6 Get Scheduling Parameter Limits, P1003.1b-1993, p. 258
- */
-
-int sched_get_priority_max(
- int policy
-);
-
-int sched_get_priority_min(
- int policy
-);
-
-int sched_rr_get_interval(
- pid_t pid,
- struct timespec *interval
-);
-
-#endif /* _POSIX_PRIORITY_SCHEDULING */
-
-#if defined(_POSIX_THREADS) || defined(_POSIX_PRIORITY_SCHEDULING)
-
-/*
- * 13.3.5 Yield Processor, P1003.1b-1993, p. 257
- */
-
-int sched_yield( void );
-
-#endif /* _POSIX_THREADS or _POSIX_PRIORITY_SCHEDULING */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */