about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-29 22:23:14 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-29 22:23:14 +0000
commit28f532c89a76ef8ca50a8e3fbdc71894b4e97278 (patch)
tree6fcc16a196989ebefc0520e00746d0395463ff1e /sysdeps
parenta7c5324235173ba00a3b4bb5eca947616beb99c9 (diff)
downloadglibc-28f532c89a76ef8ca50a8e3fbdc71894b4e97278.tar.gz
glibc-28f532c89a76ef8ca50a8e3fbdc71894b4e97278.tar.xz
glibc-28f532c89a76ef8ca50a8e3fbdc71894b4e97278.zip
Update.
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/sys/sysmacros.h11
1 files changed, 7 insertions, 4 deletions
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)