aboutsummaryrefslogtreecommitdiff
path: root/win32/mntent.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2014-03-13 22:02:12 +0000
committerRon Yorston <rmy@pobox.com>2014-03-13 22:02:12 +0000
commite8c9f63c8e618d85104369a4c588129b165851e2 (patch)
tree472f9a45e0cd789fee8d5b875a97d9877c169ff8 /win32/mntent.c
parente15ec3837bfed8a05ff0e8c7edd658fbb41f5d7d (diff)
downloadbusybox-w32-e8c9f63c8e618d85104369a4c588129b165851e2.tar.gz
busybox-w32-e8c9f63c8e618d85104369a4c588129b165851e2.tar.bz2
busybox-w32-e8c9f63c8e618d85104369a4c588129b165851e2.zip
Fix some compiler warnings
Diffstat (limited to 'win32/mntent.c')
-rw-r--r--win32/mntent.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/win32/mntent.c b/win32/mntent.c
index 22efbf1b7..53f098796 100644
--- a/win32/mntent.c
+++ b/win32/mntent.c
@@ -9,7 +9,7 @@ struct mntdata {
9 int index; 9 int index;
10}; 10};
11 11
12FILE *setmntent(const char *file, const char *mode) 12FILE *setmntent(const char *file UNUSED_PARAM, const char *mode UNUSED_PARAM)
13{ 13{
14 struct mntdata *data; 14 struct mntdata *data;
15 15
@@ -28,7 +28,8 @@ struct mntent *getmntent(FILE *stream)
28 struct mntdata *data = (struct mntdata *)stream; 28 struct mntdata *data = (struct mntdata *)stream;
29 static char mnt_fsname[4]; 29 static char mnt_fsname[4];
30 static char mnt_dir[4]; 30 static char mnt_dir[4];
31 static struct mntent my_mount_entry = { mnt_fsname, mnt_dir, "", 0, 0 }; 31 static struct mntent my_mount_entry =
32 { mnt_fsname, mnt_dir, (char *)"", (char *)"", 0, 0 };
32 static struct mntent *entry; 33 static struct mntent *entry;
33 34
34 entry = NULL; 35 entry = NULL;