From 360b2b7ab8fd7cf337f02e260346a0f0ecbb8064 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 20 Mar 2007 16:51:12 +0000 Subject: Restructure header files for POSIX compliance; eliminate compile warnings git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@107 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/semaphore.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'nuttx/include/semaphore.h') diff --git a/nuttx/include/semaphore.h b/nuttx/include/semaphore.h index f23435a1a..565acaf31 100644 --- a/nuttx/include/semaphore.h +++ b/nuttx/include/semaphore.h @@ -41,6 +41,7 @@ ************************************************************/ #include +#include #ifdef __cplusplus #define EXTERN extern "C" @@ -53,14 +54,6 @@ extern "C" { * Definitions ************************************************************/ -/* The maximum value that a semaphore may have. */ - -#define SEM_MAX_VALUE 0x7fff /* Max value POSIX counting semaphore */ - -/* The maximum number of semaphores that a task may have */ - -#define SEM_NSEMS_MAX 0x7fffffff - /************************************************************ * Public Type Declarations ************************************************************/ -- cgit v1.2.3