summaryrefslogtreecommitdiff
path: root/win32/mntent.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-03-30 11:24:00 +0000
committerRon Yorston <rmy@pobox.com>2019-03-30 11:24:00 +0000
commit077d4c21c0e48e495bc86ea0dec28e5a7143efa8 (patch)
treeeebcad878cd140ea28c5e783c8826d93aa566c60 /win32/mntent.h
parent548ec7045bc7c80eaf03e92f390d1da2c9e9cd86 (diff)
downloadbusybox-w32-077d4c21c0e48e495bc86ea0dec28e5a7143efa8.tar.gz
busybox-w32-077d4c21c0e48e495bc86ea0dec28e5a7143efa8.tar.bz2
busybox-w32-077d4c21c0e48e495bc86ea0dec28e5a7143efa8.zip
win32: update implementation of setmntent(3)
- The arguments to setmntent(3) are unused: add a macro to drop them at call sites. - Allow remote drives.
Diffstat (limited to '')
-rw-r--r--win32/mntent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/win32/mntent.h b/win32/mntent.h
index b035bfa9c..8bdf3d45e 100644
--- a/win32/mntent.h
+++ b/win32/mntent.h
@@ -12,8 +12,10 @@ struct mntent {
12 int mnt_passno; /* Pass number for `fsck'. */ 12 int mnt_passno; /* Pass number for `fsck'. */
13}; 13};
14 14
15extern FILE *setmntent(const char *file, const char *mode); 15extern FILE *mingw_setmntent(void);
16extern struct mntent *getmntent(FILE *stream); 16extern struct mntent *getmntent(FILE *stream);
17extern int endmntent(FILE *stream); 17extern int endmntent(FILE *stream);
18 18
19#define setmntent(f, m) mingw_setmntent()
20
19#endif 21#endif