summaryrefslogtreecommitdiff
path: root/src/mknod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mknod.c')
-rw-r--r--src/mknod.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mknod.c b/src/mknod.c
index ae79a8493..e21c66d36 100644
--- a/src/mknod.c
+++ b/src/mknod.c
@@ -38,7 +38,7 @@
#include "error.h"
#include "xstrtol.h"
-static void usage ();
+static void usage (int status);
/* The name this program was run with. */
char *program_name;
@@ -58,9 +58,7 @@ static struct option const longopts[] =
};
void
-main (argc, argv)
- int argc;
- char **argv;
+main (int argc, char **argv)
{
unsigned short newmode;
struct mode_change *change;
@@ -205,8 +203,7 @@ major and minor device numbers may not be specified for fifo files");
}
static void
-usage (status)
- int status;
+usage (int status)
{
if (status != 0)
fprintf (stderr, "Try `%s --help' for more information.\n",