diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | nptl/TODO-kernel | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sys/sysmacros.h | 11 |
3 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog index 197b9828b9..15dbd586d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-09-29 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __extension__ as + well to cover using long long in C90. + 2003-09-28 Alfred M. Szmidt <ams@kemisten.nu> * sysdeps/mach/hurd/bits/libc-lock.h (__libc_cleanup_pop): diff --git a/nptl/TODO-kernel b/nptl/TODO-kernel index 7c16f8e1a4..ad6d2a4b51 100644 --- a/nptl/TODO-kernel +++ b/nptl/TODO-kernel @@ -4,8 +4,6 @@ + use UID/GID in access(2), chmod(2), chown(2), link(2) -- pgrp & session are process properties - - nice level is process property - rlimit should be process-wide and SIGXCPU should be sent if all threads diff --git a/sysdeps/unix/sysv/linux/sys/sysmacros.h b/sysdeps/unix/sysv/linux/sys/sysmacros.h index a89944e6ea..a9bfa78d3e 100644 --- a/sysdeps/unix/sysv/linux/sys/sysmacros.h +++ b/sysdeps/unix/sysv/linux/sys/sysmacros.h @@ -26,28 +26,31 @@ not going to hack weird hacks to support the dev_t representation they need. */ #ifdef __GLIBC_HAVE_LONG_LONG +__extension__ extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) __THROW; +__extension__ extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) __THROW; +__extension__ extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, - unsigned int __minor) + unsigned int __minor) __THROW; # if defined __GNUC__ && __GNUC__ >= 2 -extern __inline unsigned int +__extension__ extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) __THROW { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } -extern __inline unsigned int +__extension__ extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) __THROW { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } -extern __inline unsigned long long int +__extension__ extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __THROW { return ((__minor & 0xff) | ((__major & 0xfff) << 8) |