summaryrefslogtreecommitdiff
path: root/src/mkdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mkdir.c')
-rw-r--r--src/mkdir.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mkdir.c b/src/mkdir.c
index 69af2f524..1b6a27ca8 100644
--- a/src/mkdir.c
+++ b/src/mkdir.c
@@ -38,7 +38,7 @@
#include "version.h"
#include "error.h"
-static void usage ();
+static void usage (int status);
/* The name this program was run with. */
char *program_name;
@@ -63,9 +63,7 @@ static struct option const longopts[] =
};
void
-main (argc, argv)
- int argc;
- char **argv;
+main (int argc, char **argv)
{
unsigned int newmode;
unsigned int parent_mode;
@@ -138,8 +136,7 @@ main (argc, argv)
}
static void
-usage (status)
- int status;
+usage (int status)
{
if (status != 0)
fprintf (stderr, "Try `%s --help' for more information.\n",