This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] file compile errors caused by sysmacros.h

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.  */
-extern unsigned int inline gnu_dev_major (unsigned long long int __dev)
+extern inline unsigned int gnu_dev_major (unsigned long long int __dev)
-extern unsigned int inline gnu_dev_minor (unsigned long long int __dev)
+extern inline unsigned int gnu_dev_minor (unsigned long long int __dev)
-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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]