1 /* 2 * Copyright 2023 Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _GNU_SCHED_H_ 6 #define _GNU_SCHED_H_ 7 8 9 #include_next <sched.h> 10 11 12 #ifdef _GNU_SOURCE 13 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 extern int sched_getcpu(void); 20 21 #ifdef __cplusplus 22 } 23 #endif 24 25 26 #endif 27 28 29 #endif /* _GNU_SCHED_H_ */ 30