diff options
author | Jim Meyering <jim@meyering.net> | 1996-01-06 11:44:05 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-01-06 11:44:05 +0000 |
commit | 53398947a1482e8b83e204186969af6147eaae6e (patch) | |
tree | bf4de064df1f022c2e01051b45cafc454ed839c4 /src/whoami.c | |
parent | 5e14cce7ae90f69cf4609b7731377e934e79c219 (diff) | |
download | coreutils-53398947a1482e8b83e204186969af6147eaae6e.tar.xz |
Protoize and __P-protect forward dcls.
Diffstat (limited to 'src/whoami.c')
-rw-r--r-- | src/whoami.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/whoami.c b/src/whoami.c index f762dbc60..66293d849 100644 --- a/src/whoami.c +++ b/src/whoami.c @@ -44,8 +44,7 @@ static struct option const long_options[] = }; static void -usage (status) - int status; +usage (int status) { if (status != 0) fprintf (stderr, _("Try `%s --help' for more information.\n"), @@ -64,9 +63,7 @@ Same as id -un.\n\ } void -main (argc, argv) - int argc; - char *argv[]; +main (int argc, char **argv) { register struct passwd *pw; register uid_t uid; |