mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 03:31:07 +00:00
Don't use __typeof__ (getcpu)
We can't use "__typeof__ (getcpu)" since getcpu is Linux specific and Hurd doesn't have it. Tested with build-many-glibcs.py. * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
This commit is contained in:
parent
10446f5d9f
commit
37caec3a11
@ -1,3 +1,7 @@
|
||||
2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
|
||||
|
||||
2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
|
||||
|
||||
* libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
|
||||
|
@ -26,7 +26,9 @@ libc_hidden_proto (__clone)
|
||||
extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base,
|
||||
size_t __child_stack_size, int __flags, void *__arg, ...);
|
||||
libc_hidden_proto (__clone2)
|
||||
extern __typeof__ (getcpu) __getcpu;
|
||||
/* NB: Can't use "__typeof__ (getcpu)" since getcpu is Linux specific
|
||||
and Hurd doesn't have it. */
|
||||
extern int __getcpu (unsigned int *, unsigned int *);
|
||||
libc_hidden_proto (__getcpu)
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user