linux-libc-headers/trunk/include: asm-alpha/types.h asm-arm/types.h
asm-arm26/types.h asm-cris/types...
pluto
cvs at pld-linux.org
Fri Jun 17 00:17:48 CEST 2005
Author: pluto
Date: Fri Jun 17 00:17:39 2005
New Revision: 6111
Modified:
linux-libc-headers/trunk/include/asm-alpha/types.h
linux-libc-headers/trunk/include/asm-arm/types.h
linux-libc-headers/trunk/include/asm-arm26/types.h
linux-libc-headers/trunk/include/asm-cris/types.h
linux-libc-headers/trunk/include/asm-frv/types.h
linux-libc-headers/trunk/include/asm-h8300/types.h
linux-libc-headers/trunk/include/asm-i386/types.h
linux-libc-headers/trunk/include/asm-ia64/types.h
linux-libc-headers/trunk/include/asm-m32r/types.h
linux-libc-headers/trunk/include/asm-m68k/types.h
linux-libc-headers/trunk/include/asm-mips/types.h
linux-libc-headers/trunk/include/asm-parisc/types.h
linux-libc-headers/trunk/include/asm-ppc/types.h
linux-libc-headers/trunk/include/asm-ppc64/types.h
linux-libc-headers/trunk/include/asm-s390/types.h
linux-libc-headers/trunk/include/asm-sh/types.h
linux-libc-headers/trunk/include/asm-sh64/types.h
linux-libc-headers/trunk/include/asm-sparc/types.h
linux-libc-headers/trunk/include/asm-sparc64/types.h
linux-libc-headers/trunk/include/asm-v850/types.h
linux-libc-headers/trunk/include/asm-x86_64/types.h
linux-libc-headers/trunk/include/linux/i2c-dev.h
Log:
- ansi-c uses the __inline__ keyword. testsuite passed now.
Modified: linux-libc-headers/trunk/include/asm-alpha/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-alpha/types.h (original)
+++ linux-libc-headers/trunk/include/asm-alpha/types.h Fri Jun 17 00:17:39 2005
@@ -33,6 +33,10 @@
typedef __signed__ long __s64;
typedef unsigned long __u64;
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* _ALPHA_TYPES_H */
Modified: linux-libc-headers/trunk/include/asm-arm/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-arm/types.h (original)
+++ linux-libc-headers/trunk/include/asm-arm/types.h Fri Jun 17 00:17:39 2005
@@ -24,6 +24,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
/*
Modified: linux-libc-headers/trunk/include/asm-arm26/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-arm26/types.h (original)
+++ linux-libc-headers/trunk/include/asm-arm26/types.h Fri Jun 17 00:17:39 2005
@@ -24,6 +24,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
/*
Modified: linux-libc-headers/trunk/include/asm-cris/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-cris/types.h (original)
+++ linux-libc-headers/trunk/include/asm-cris/types.h Fri Jun 17 00:17:39 2005
@@ -24,6 +24,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
/*
Modified: linux-libc-headers/trunk/include/asm-frv/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-frv/types.h (original)
+++ linux-libc-headers/trunk/include/asm-frv/types.h Fri Jun 17 00:17:39 2005
@@ -35,6 +35,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
/*
Modified: linux-libc-headers/trunk/include/asm-h8300/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-h8300/types.h (original)
+++ linux-libc-headers/trunk/include/asm-h8300/types.h Fri Jun 17 00:17:39 2005
@@ -32,6 +32,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* _H8300_TYPES_H */
Modified: linux-libc-headers/trunk/include/asm-i386/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-i386/types.h (original)
+++ linux-libc-headers/trunk/include/asm-i386/types.h Fri Jun 17 00:17:39 2005
@@ -24,6 +24,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
#endif
Modified: linux-libc-headers/trunk/include/asm-ia64/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-ia64/types.h (original)
+++ linux-libc-headers/trunk/include/asm-ia64/types.h Fri Jun 17 00:17:39 2005
@@ -44,6 +44,10 @@
typedef __signed__ long __s64;
typedef unsigned long __u64;
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* !__ASSEMBLY__ */
#endif /* _ASM_IA64_TYPES_H */
Modified: linux-libc-headers/trunk/include/asm-m32r/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-m32r/types.h (original)
+++ linux-libc-headers/trunk/include/asm-m32r/types.h Fri Jun 17 00:17:39 2005
@@ -27,6 +27,11 @@
typedef __signed__ long long __s64;
typedef unsigned long long __u64;
#endif
+
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
/*
Modified: linux-libc-headers/trunk/include/asm-m68k/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-m68k/types.h (original)
+++ linux-libc-headers/trunk/include/asm-m68k/types.h Fri Jun 17 00:17:39 2005
@@ -32,6 +32,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* _M68K_TYPES_H */
Modified: linux-libc-headers/trunk/include/asm-mips/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-mips/types.h (original)
+++ linux-libc-headers/trunk/include/asm-mips/types.h Fri Jun 17 00:17:39 2005
@@ -45,6 +45,10 @@
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* _ASM_TYPES_H */
Modified: linux-libc-headers/trunk/include/asm-parisc/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-parisc/types.h (original)
+++ linux-libc-headers/trunk/include/asm-parisc/types.h Fri Jun 17 00:17:39 2005
@@ -24,6 +24,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
#endif
Modified: linux-libc-headers/trunk/include/asm-ppc/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-ppc/types.h (original)
+++ linux-libc-headers/trunk/include/asm-ppc/types.h Fri Jun 17 00:17:39 2005
@@ -17,6 +17,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
typedef struct {
__u32 u[4];
} __vector128;
Modified: linux-libc-headers/trunk/include/asm-ppc64/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-ppc64/types.h (original)
+++ linux-libc-headers/trunk/include/asm-ppc64/types.h Fri Jun 17 00:17:39 2005
@@ -42,6 +42,10 @@
__u32 u[4];
} __attribute((aligned(16))) __vector128;
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* _PPC64_TYPES_H */
Modified: linux-libc-headers/trunk/include/asm-s390/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-s390/types.h (original)
+++ linux-libc-headers/trunk/include/asm-s390/types.h Fri Jun 17 00:17:39 2005
@@ -46,6 +46,10 @@
typedef unsigned long addr_t;
typedef __signed__ long saddr_t;
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* _S390_TYPES_H */
Modified: linux-libc-headers/trunk/include/asm-sh/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-sh/types.h (original)
+++ linux-libc-headers/trunk/include/asm-sh/types.h Fri Jun 17 00:17:39 2005
@@ -24,6 +24,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* __ASM_SH_TYPES_H */
Modified: linux-libc-headers/trunk/include/asm-sh64/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-sh64/types.h (original)
+++ linux-libc-headers/trunk/include/asm-sh64/types.h Fri Jun 17 00:17:39 2005
@@ -35,6 +35,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
/*
Modified: linux-libc-headers/trunk/include/asm-sparc/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-sparc/types.h (original)
+++ linux-libc-headers/trunk/include/asm-sparc/types.h Fri Jun 17 00:17:39 2005
@@ -32,6 +32,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* defined(_SPARC_TYPES_H) */
Modified: linux-libc-headers/trunk/include/asm-sparc64/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-sparc64/types.h (original)
+++ linux-libc-headers/trunk/include/asm-sparc64/types.h Fri Jun 17 00:17:39 2005
@@ -33,6 +33,10 @@
typedef __signed__ long __s64;
typedef unsigned long __u64;
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* defined(_SPARC64_TYPES_H) */
Modified: linux-libc-headers/trunk/include/asm-v850/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-v850/types.h (original)
+++ linux-libc-headers/trunk/include/asm-v850/types.h Fri Jun 17 00:17:39 2005
@@ -32,6 +32,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* !__ASSEMBLY__ */
#endif /* __V850_TYPES_H__ */
Modified: linux-libc-headers/trunk/include/asm-x86_64/types.h
==============================================================================
--- linux-libc-headers/trunk/include/asm-x86_64/types.h (original)
+++ linux-libc-headers/trunk/include/asm-x86_64/types.h Fri Jun 17 00:17:39 2005
@@ -24,6 +24,10 @@
typedef unsigned long long __u64;
#endif
+#if (defined(__STRICT_ANSI__) && !defined(inline))
+#define inline __inline__
+#endif
+
#endif /* __ASSEMBLY__ */
#endif
Modified: linux-libc-headers/trunk/include/linux/i2c-dev.h
==============================================================================
--- linux-libc-headers/trunk/include/linux/i2c-dev.h (original)
+++ linux-libc-headers/trunk/include/linux/i2c-dev.h Fri Jun 17 00:17:39 2005
@@ -26,9 +26,6 @@
#include <linux/types.h>
#include <sys/ioctl.h>
-#if (defined(__GNUC__) && !defined(__STRICT_ANSI__)) || (__STDC_VERSION__ >= 199901L)
-#define inline
-#endif
/* -- i2c.h -- */
More information about the pld-cvs-commit
mailing list