diff options
Diffstat (limited to 'firmware/thread.h')
-rw-r--r-- | firmware/thread.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/firmware/thread.h b/firmware/thread.h index e33849f5e4..f1f074313c 100644 --- a/firmware/thread.h +++ b/firmware/thread.h | |||
@@ -16,17 +16,12 @@ | |||
16 | * KIND, either express or implied. | 16 | * KIND, either express or implied. |
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | #ifndef __thread_h | 19 | #ifndef THREAD_H |
20 | #define __thread_h 1 | 20 | #define THREAD_H |
21 | |||
22 | #include <sys/types.h> | ||
23 | 21 | ||
24 | #define MAXTHREADS 16 | 22 | #define MAXTHREADS 16 |
25 | 23 | ||
26 | extern int create_thread(void* fp, void* sp, int stk_size); | 24 | int create_thread(void* fp, void* sp, int stk_size); |
27 | extern void switch_thread(void); | 25 | void switch_thread(void); |
28 | |||
29 | #endif /* __thread.h */ | ||
30 | |||
31 | /* eof */ | ||
32 | 26 | ||
27 | #endif | ||