diff options
author | Ron Yorston <rmy@pobox.com> | 2014-03-13 22:02:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-03-13 22:02:12 +0000 |
commit | e8c9f63c8e618d85104369a4c588129b165851e2 (patch) | |
tree | 472f9a45e0cd789fee8d5b875a97d9877c169ff8 /win32/mntent.c | |
parent | e15ec3837bfed8a05ff0e8c7edd658fbb41f5d7d (diff) | |
download | busybox-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.c | 5 |
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 | ||
12 | FILE *setmntent(const char *file, const char *mode) | 12 | FILE *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; |