* fstab.c: Remove some sparc compiler warnings.
authorJonathan Pryor <jpryor@novell.com>
Mon, 3 Jan 2005 16:01:35 +0000 (16:01 -0000)
committerJonathan Pryor <jpryor@novell.com>
Mon, 3 Jan 2005 16:01:35 +0000 (16:01 -0000)
svn path=/trunk/mono/; revision=38276

support/ChangeLog
support/fstab.c

index dfb8930f5131ca46345291ea93f85ad87c08fab9..5c87130247697a7ab890780c5408eebef7951103 100644 (file)
@@ -1,3 +1,7 @@
+2005-01-03  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * fstab.c: Remove some sparc compiler warnings.
+
 2005-01-03  Jonathan Pryor  <jonpryor@vt.edu>
 
        * fstab.c: Solaris doesn't support getfsent(3), but it provides equivalent
index 43dfc281919ebc6432add9a75691396c65105951..f6ab2cc27d9d046bf2d3bbd20aafc432e9c7583e 100644 (file)
@@ -177,7 +177,7 @@ getfsfile (const char *mount_point)
        int close = 0;
        if (etc_fstab == 0) {
                close = 1;
-               if (setfsfile() != 1)
+               if (setfsent () != 1)
                        return NULL;
        }
        rewind (etc_fstab);
@@ -196,7 +196,7 @@ getfsspec (const char *special_file)
        int close = 0;
        if (etc_fstab == 0) {
                close = 1;
-               if (setfsfile() != 1)
+               if (setfsent () != 1)
                        return NULL;
        }
        rewind (etc_fstab);
@@ -213,7 +213,7 @@ getfsspec (const char *special_file)
 #if defined (HAVE_FSTAB_H) || defined (HAVE_SYS_VFSTAB_H)
 
 void
-Mono_Posix_Syscall_endfsent ()
+Mono_Posix_Syscall_endfsent (void)
 {
        endfsent ();
 }