r2556 - in glibc-package/trunk/debian: . patches/any
Author: aurel32
Date: 2007-09-12 15:29:09 +0000 (Wed, 12 Sep 2007)
New Revision: 2556
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/any/local-sysmacros.diff
Log:
* any/local-sysmacros.diff: use __inline instead of inline for
compatibility with ANSI. Closes: #441959.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2007-09-11 14:18:07 UTC (rev 2555)
+++ glibc-package/trunk/debian/changelog 2007-09-12 15:29:09 UTC (rev 2556)
@@ -1,9 +1,11 @@
glibc (2.6.1-4) unstable; urgency=low
- * Disable any/local-ipv6-lookup.diff as it is causing breakages.
+ * Disable any/local-ipv6-lookup.diff as it is causing breakages.
Closes: bug#441857.
+ * any/local-sysmacros.diff: use __inline instead of inline for
+ compatibility with ANSI. Closes: #441959.
- -- Aurelien Jarno <aurel32@debian.org> Tue, 11 Sep 2007 16:17:11 +0200
+ -- Aurelien Jarno <aurel32@debian.org> Wed, 12 Sep 2007 17:28:09 +0200
glibc (2.6.1-3) unstable; urgency=low
Modified: glibc-package/trunk/debian/patches/any/local-sysmacros.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/local-sysmacros.diff 2007-09-11 14:18:07 UTC (rev 2555)
+++ glibc-package/trunk/debian/patches/any/local-sysmacros.diff 2007-09-12 15:29:09 UTC (rev 2556)
@@ -7,19 +7,19 @@
-# define major(dev) gnu_dev_major (dev)
-# define minor(dev) gnu_dev_minor (dev)
-# define makedev(maj, min) gnu_dev_makedev (maj, min)
-+static inline unsigned int
++static __inline unsigned int
+__NTH (major (unsigned long long int dev))
+{
+ return gnu_dev_major (dev);
+}
+
-+static inline unsigned int
++static __inline unsigned int
+__NTH (minor (unsigned long long int dev))
+{
+ return gnu_dev_minor (dev);
+}
+
-+static inline unsigned long long int
++static __inline unsigned long long int
+__NTH (makedev (unsigned int maj, unsigned int min))
+{
+ return gnu_dev_makedev (maj, min);
Reply to: