summaryrefslogtreecommitdiff
path: root/src/logname.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logname.c')
-rw-r--r--src/logname.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/logname.c b/src/logname.c
index e12c3ebd7..9a0b0ec48 100644
--- a/src/logname.c
+++ b/src/logname.c
@@ -40,8 +40,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"),
@@ -60,9 +59,7 @@ Print the name of the current user.\n\
}
void
-main (argc, argv)
- int argc;
- char **argv;
+main (int argc, char **argv)
{
register char *cp;
int c;