GNU C Library master sources branch master updated. glibc-2.28.9000-369-g37caec3
Fri Dec 7 20:49:00 GMT 2018

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  37caec3a11eb329f333bc70cf772cb9a9734325a (commit)
      from  10446f5d9f2cf4d91c8ae483fd2b5470242ae2a1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------;a=commitdiff;h=37caec3a11eb329f333bc70cf772cb9a9734325a

commit 37caec3a11eb329f333bc70cf772cb9a9734325a
Author: H.J. Lu <>
Date:   Fri Dec 7 12:47:30 2018 -0800

    Don't use __typeof__ (getcpu)
    We can't use "__typeof__ (getcpu)" since getcpu is Linux specific and
    Hurd doesn't have it.
    Tested with
    	* include/sched.h (__getcpu): Don't use __typeof__ (getcpu).

diff --git a/ChangeLog b/ChangeLog
index c6ad912..2a5fad3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-12-07  H.J. Lu  <>
+	* include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
 2018-12-07  Gabriel F. T. Gomes  <>
 	* libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
diff --git a/include/sched.h b/include/sched.h
index 0843c26..4abc440 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -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)


Summary of changes:
 ChangeLog       |    4 ++++
 include/sched.h |    4 +++-
 2 files changed, 7 insertions(+), 1 deletions(-)

GNU C Library master sources

More information about the Glibc-cvs mailing list