Revert 67496 as it makes running Paint.NET impossible
[mono.git] / support / fstab.c
index 2fb79be2671092f6a128e009d687012529ab2fdc..e81821b18c6c11a48c8253c7646d3229aab9fcac 100644 (file)
@@ -13,6 +13,7 @@
 #include <stdlib.h>
 #include <stddef.h>
 
+#include "map.h"
 #include "mph.h"
 
 #if defined (HAVE_CHECKLIST_H)
 
 G_BEGIN_DECLS
 
-struct Mono_Posix_Syscall__Fstab {
-       char  *fs_spec;     /* block device name */
-       char  *fs_file;     /* mount point */
-       char  *fs_vfstype;      /* filesystem type */
-       char  *fs_mntops;   /* mount options */
-       char  *fs_type;     /* rw/rq/ro/sw/xx option */
-       int    fs_freq;     /* dump frequency, in days */
-       int    fs_passno;   /* pass number on parallel dump */
-
-       char  *_fs_buf_;
-};
-
 #ifdef HAVE_CHECKLIST_H
 
 typedef struct checklist mph_fstab;
@@ -245,10 +234,11 @@ getfsspec (const char *special_file)
 
 #if defined (HAVE_FSTAB_H) || defined (HAVE_CHECKPOINT_H) || defined (HAVE_SYS_VFSTAB_H)
 
-void
+int
 Mono_Posix_Syscall_endfsent (void)
 {
        endfsent ();
+       return 0;
 }
 
 gint32