This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] file compile errors caused by sysmacros.h
- From: "Kevin P. Fleming" <kpfleming at backtobasicsmgmt dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Sat, 27 Sep 2003 08:39:14 -0700
- Subject: [PATCH] file compile errors caused by sysmacros.h
- Organization: Back to Basics Network Management
Today's CVS caused compile errors while building userspace (groff-1.19) with gcc-3.3.1. Patch below fixes the problem.
Index: sysdeps/unix/sysv/linux/sys/sysmacros.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/sys/sysmacros.h,v
retrieving revision 1.12
diff -u -b -r1.12 sysmacros.h
--- sysdeps/unix/sysv/linux/sys/sysmacros.h 24 Sep 2003 20:25:15 -0000 1.12
+++ sysdeps/unix/sysv/linux/sys/sysmacros.h 27 Sep 2003 15:35:49 -0000
@@ -26,11 +26,11 @@
not going to hack weird hacks to support the dev_t representation
they need. */
#ifdef __GLIBC_HAVE_LONG_LONG
-extern unsigned int inline gnu_dev_major (unsigned long long int __dev)
+extern inline unsigned int gnu_dev_major (unsigned long long int __dev)
__THROW;
-extern unsigned int inline gnu_dev_minor (unsigned long long int __dev)
+extern inline unsigned int gnu_dev_minor (unsigned long long int __dev)
__THROW;
-extern unsigned long long int inline gnu_dev_makedev (unsigned int __major,
+extern inline unsigned long long int gnu_dev_makedev (unsigned int __major,
unsigned int __minor)
__THROW;