aboutsummaryrefslogtreecommitdiff
path: root/miscutils/hdparm.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:28:39 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:28:39 +0000
commit06af2165288cd6516b89001ec9e24992619230e0 (patch)
tree840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /miscutils/hdparm.c
parentc7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff)
downloadbusybox-06af2165288cd6516b89001ec9e24992619230e0.tar.gz
busybox-06af2165288cd6516b89001ec9e24992619230e0.tar.bz2
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'miscutils/hdparm.c')
-rw-r--r--miscutils/hdparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index afb4ecc7b..eafb07898 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -2094,7 +2094,9 @@ static const char hdparm_options[] = "gfu::n::p:r::m::c::k::a::B:tTh"
/*-------------------------------------*/
/* our main() routine: */
+int hdparm_main(int argc, char **argv) ATTRIBUTE_NORETURN;;
int hdparm_main(int argc, char **argv) ATTRIBUTE_NORETURN;
+int hdparm_main(int argc, char **argv);
int hdparm_main(int argc, char **argv)
{
int c;