aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 3b77af728..f73ad608b 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -47,7 +47,7 @@
47/* 16.12.2006, Sampo Kellomaki (sampo@iki.fi) 47/* 16.12.2006, Sampo Kellomaki (sampo@iki.fi)
48 * dietlibc-0.30 does not have implementation of getmntent_r() */ 48 * dietlibc-0.30 does not have implementation of getmntent_r() */
49static struct mntent *getmntent_r(FILE* stream, struct mntent* result, 49static struct mntent *getmntent_r(FILE* stream, struct mntent* result,
50 char* buffer ATTRIBUTE_UNUSED, int bufsize ATTRIBUTE_UNUSED) 50 char* buffer UNUSED_PARAM, int bufsize UNUSED_PARAM)
51{ 51{
52 struct mntent* ment = getmntent(stream); 52 struct mntent* ment = getmntent(stream);
53 return memcpy(result, ment, sizeof(*ment)); 53 return memcpy(result, ment, sizeof(*ment));
@@ -914,7 +914,7 @@ static inline int daemonize(void) { return -ENOSYS; }
914#endif 914#endif
915 915
916// TODO 916// TODO
917static inline int we_saw_this_host_before(const char *hostname ATTRIBUTE_UNUSED) 917static inline int we_saw_this_host_before(const char *hostname UNUSED_PARAM)
918{ 918{
919 return 0; 919 return 0;
920} 920}
@@ -1733,7 +1733,7 @@ static int singlemount(struct mntent *mp, int ignore_busy)
1733static const char must_be_root[] ALIGN1 = "you must be root"; 1733static const char must_be_root[] ALIGN1 = "you must be root";
1734 1734
1735int mount_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 1735int mount_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
1736int mount_main(int argc ATTRIBUTE_UNUSED, char **argv) 1736int mount_main(int argc UNUSED_PARAM, char **argv)
1737{ 1737{
1738 char *cmdopts = xstrdup(""); 1738 char *cmdopts = xstrdup("");
1739 char *fstype = NULL; 1739 char *fstype = NULL;