[PATCH] file compile errors caused by sysmacros.h
Kevin P. Fleming
kpfleming@backtobasicsmgmt.com
Sat Sep 27 15:39:00 GMT 2003
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;
More information about the Libc-alpha
mailing list