diff options
Diffstat (limited to 'nuttx/sched/pthread_initialize.c')
-rw-r--r-- | nuttx/sched/pthread_initialize.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/nuttx/sched/pthread_initialize.c b/nuttx/sched/pthread_initialize.c index 3cd715d8fa..8ba06e9b0f 100644 --- a/nuttx/sched/pthread_initialize.c +++ b/nuttx/sched/pthread_initialize.c @@ -1,7 +1,7 @@ /**************************************************************************** - * pthread_initialize.c + * sched/pthread_initialize.c * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -37,9 +37,12 @@ * Included Files ****************************************************************************/ -#include <sys/types.h> +#include <nuttx/config.h> + +#include <stdint.h> #include <semaphore.h> #include <errno.h> + #include "pthread_internal.h" /**************************************************************************** @@ -71,7 +74,7 @@ sem_t g_join_semaphore; * allocated. */ -ubyte g_pthread_num_keys; +uint8_t g_pthread_num_keys; /**************************************************************************** * Private Variables |