Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-updates-src > by-pkgid > b9365aafafaad17c7717111e859d45a2 > files > 14

util-linux-ng-2.17.1-5.2mdv2010.2.src.rpm

--- util-linux-2.12r/mount/umount.c.sparc	2007-05-09 15:35:59.000000000 +0200
+++ util-linux-2.12r/mount/umount.c	2007-05-09 15:35:59.000000000 +0200
@@ -40,13 +40,13 @@
 #include <linux/unistd.h>
 #ifdef __NR_umount2
 
-static int umount2(const char *path, int flags);
+int umount2(const char *path, int flags);
 
 _syscall2(int, umount2, const char *, path, int, flags);
 
 #else /* __NR_umount2 */
 
-static int
+int
 umount2(const char *path, int flags) {
 	fprintf(stderr, _("umount: compiled without support for -f\n"));
 	errno = ENOSYS;
--- util-linux-2.12r/hwclock/rtc.c.sparc	2007-05-09 15:35:59.000000000 +0200
+++ util-linux-2.12r/hwclock/rtc.c	2007-05-09 15:35:59.000000000 +0200
@@ -41,8 +41,8 @@
         int     year;   /* Year (0-99) */
 };
 
-#define RTCGET _IOR('p', 20, sparc_rtc_time)
-#define RTCSET _IOW('p', 21, sparc_rtc_time)
+#define RTCGET _IOR('p', 20, struct sparc_rtc_time)
+#define RTCSET _IOW('p', 21, struct sparc_rtc_time)
 
 
 /* non-sparc stuff */