about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-01-10 20:19:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-01-10 20:19:45 +0000
commit828beb132ddf5664cf9971329e8cdcb93dce43af (patch)
treef5ef78a87d896199d8b35b42ee0cb4917b9a3d15 /sysdeps/unix/sysv/linux
parent034ed64b2cd0aeb4cccd40fb8e7e754e41f2d889 (diff)
downloadglibc-828beb132ddf5664cf9971329e8cdcb93dce43af.tar.gz
glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.tar.xz
glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.zip
Use __extension__ with long long in installed headers.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/ipc.h4
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sys/ucontext.h2
-rw-r--r--sysdeps/unix/sysv/linux/x86/sys/procfs.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/ipc.h b/sysdeps/unix/sysv/linux/sparc/bits/ipc.h
index 757d0472bb..e59f96abc5 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/ipc.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/ipc.h
@@ -56,6 +56,6 @@ struct ipc_perm
     unsigned short int __pad1;
 #endif
     unsigned short int __seq;		/* Sequence number.  */
-    unsigned long long int __unused1;
-    unsigned long long int __unused2;
+    __extension__ unsigned long long int __unused1;
+    __extension__ unsigned long long int __unused2;
   };
diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
index 74c729166a..1a3d4b54a7 100644
--- a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
@@ -217,7 +217,7 @@ typedef struct fpu
 typedef struct fpu
   {
     union {				/* FPU floating point regs */
-      unsigned long long fpu_regs[32];	/* 32 singles */
+      __extension__ unsigned long long fpu_regs[32];	/* 32 singles */
       double             fpu_dregs[16];	/* 16 doubles */
     } fpu_fr;
     struct fq       *fpu_q;		/* ptr to array of FQ entries */
diff --git a/sysdeps/unix/sysv/linux/x86/sys/procfs.h b/sysdeps/unix/sysv/linux/x86/sys/procfs.h
index dddbced57e..ec318ad937 100644
--- a/sysdeps/unix/sysv/linux/x86/sys/procfs.h
+++ b/sysdeps/unix/sysv/linux/x86/sys/procfs.h
@@ -36,7 +36,7 @@ __BEGIN_DECLS
 
 /* Type for a general-purpose register.  */
 #ifdef __x86_64__
-typedef unsigned long long elf_greg_t;
+__extension__ typedef unsigned long long elf_greg_t;
 #else
 typedef unsigned long elf_greg_t;
 #endif