diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-09-10 17:12:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-14 07:47:12 +0200 |
commit | cff773f5802d0b5b4d007be3f6f4adbb04ce0d41 (patch) | |
tree | afada47b1eb3d9ebbe755c8cd7eca6e3e9eec632 /cpukit/libstdthreads/call_once.c | |
parent | libstdthreads: Import from FreeBSD (diff) | |
download | rtems-cff773f5802d0b5b4d007be3f6f4adbb04ce0d41.tar.bz2 |
libstdthreads: Add C11 threads
Diffstat (limited to 'cpukit/libstdthreads/call_once.c')
-rw-r--r-- | cpukit/libstdthreads/call_once.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/libstdthreads/call_once.c b/cpukit/libstdthreads/call_once.c index 2d7d6ff89e..9a577d68db 100644 --- a/cpukit/libstdthreads/call_once.c +++ b/cpukit/libstdthreads/call_once.c @@ -26,13 +26,9 @@ * $FreeBSD r228904 2011-12-26T21:51:53Z$ */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - +#include <threads.h> #include <pthread.h> -#include "threads.h" - void call_once(once_flag *flag, void (*func)(void)) { |