diff options
author | ed <ed@FreeBSD.org> | 2009-12-29 22:53:27 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-12-29 22:53:27 +0000 |
commit | b9ca89bfc495774b5fe49e23a272c721c840f68b (patch) | |
tree | 2e35e76a520e919173f604f9ba0f30358443ed4a /sbin/mount_msdosfs | |
parent | 86ca9a5a9bdaa4a662de58157f311ce58029b75a (diff) | |
download | FreeBSD-src-b9ca89bfc495774b5fe49e23a272c721c840f68b.zip FreeBSD-src-b9ca89bfc495774b5fe49e23a272c721c840f68b.tar.gz |
ANSIfy almost all applications that use WARNS=6.
I was considering committing all these patches one by one, but as
discussed with brooks@, there is no need to do this. If we ever
need/want to merge these changes back, it is still possible to do this
per application.
Diffstat (limited to 'sbin/mount_msdosfs')
-rw-r--r-- | sbin/mount_msdosfs/mount_msdosfs.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sbin/mount_msdosfs/mount_msdosfs.c b/sbin/mount_msdosfs/mount_msdosfs.c index 096f04a..3ba67ea 100644 --- a/sbin/mount_msdosfs/mount_msdosfs.c +++ b/sbin/mount_msdosfs/mount_msdosfs.c @@ -229,8 +229,7 @@ main(int argc, char **argv) } gid_t -a_gid(s) - char *s; +a_gid(char *s) { struct group *gr; char *gname; @@ -249,8 +248,7 @@ a_gid(s) } uid_t -a_uid(s) - char *s; +a_uid(char *s) { struct passwd *pw; char *uname; @@ -269,8 +267,7 @@ a_uid(s) } mode_t -a_mask(s) - char *s; +a_mask(char *s) { int done, rv; char *ep; @@ -287,7 +284,7 @@ a_mask(s) } void -usage() +usage(void) { fprintf(stderr, "%s\n%s\n%s\n", "usage: mount_msdosfs [-9ls] [-D DOS_codepage] [-g gid] [-L locale]", |