diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-08-07 13:46:13 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-08-07 14:34:11 +0200 |
commit | c233d42264846f11e1d99b6664c8394b3ff32a78 (patch) | |
tree | 34d533ae78d1e7a71edcc5df926a1aacf9d7f8ad | |
parent | b1952c03a8d6970f0fb4bcfffb9cfb5b525884d6 (diff) | |
download | cygnal-c233d42264846f11e1d99b6664c8394b3ff32a78.tar.gz cygnal-c233d42264846f11e1d99b6664c8394b3ff32a78.tar.bz2 cygnal-c233d42264846f11e1d99b6664c8394b3ff32a78.zip |
Declare GNU-specific sched_getcpu()
This is a glibc extension.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
-rw-r--r-- | newlib/libc/include/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/sched.h b/newlib/libc/include/sched.h index 504ad5274..1016235bb 100644 --- a/newlib/libc/include/sched.h +++ b/newlib/libc/include/sched.h @@ -90,6 +90,10 @@ int sched_yield( void ); #endif /* _POSIX_THREADS or _POSIX_PRIORITY_SCHEDULING */ +#if __GNU_VISIBLE +int sched_getcpu(void); +#endif + #ifdef __cplusplus } #endif |