diff options
Diffstat (limited to 'nuttx/include/semaphore.h')
-rw-r--r-- | nuttx/include/semaphore.h | 9 |
1 files changed, 1 insertions, 8 deletions
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 <sys/types.h> +#include <limits.h> #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 ************************************************************/ |