summaryrefslogtreecommitdiff
path: root/coreutils/mknod.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-02-03 17:28:39 +0000
committerDenis Vlasenko2007-02-03 17:28:39 +0000
commit06af2165288cd6516b89001ec9e24992619230e0 (patch)
tree840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /coreutils/mknod.c
parentc7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff)
downloadbusybox-06af2165288cd6516b89001ec9e24992619230e0.zip
busybox-06af2165288cd6516b89001ec9e24992619230e0.tar.gz
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'coreutils/mknod.c')
-rw-r--r--coreutils/mknod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/mknod.c b/coreutils/mknod.c
index 8ca511c..6fa6d83 100644
--- a/coreutils/mknod.c
+++ b/coreutils/mknod.c
@@ -17,6 +17,7 @@
static const char modes_chars[] = { 'p', 'c', 'u', 'b', 0, 1, 1, 2 };
static const mode_t modes_cubp[] = { S_IFIFO, S_IFCHR, S_IFBLK };
+int mknod_main(int argc, char **argv);
int mknod_main(int argc, char **argv)
{
mode_t mode;