diff options
author | Denis Vlasenko | 2007-02-03 17:28:39 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-02-03 17:28:39 +0000 |
commit | 06af2165288cd6516b89001ec9e24992619230e0 (patch) | |
tree | 840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /procps/ps.c | |
parent | c7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff) | |
download | busybox-06af2165288cd6516b89001ec9e24992619230e0.zip busybox-06af2165288cd6516b89001ec9e24992619230e0.tar.gz |
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'procps/ps.c')
-rw-r--r-- | procps/ps.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/procps/ps.c b/procps/ps.c index acd9a30..f3d11b7 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -233,6 +233,7 @@ static void format_process(const procps_status_t *ps) /* Cannot be const: parse_o() will choke */ static char default_o[] = "pid,user" /* TODO: ,vsz,stat */ ",args"; +int ps_main(int argc, char **argv); int ps_main(int argc, char **argv) { procps_status_t *p; @@ -280,6 +281,7 @@ int ps_main(int argc, char **argv) #else /* !ENABLE_DESKTOP */ +int ps_main(int argc, char **argv); int ps_main(int argc, char **argv) { procps_status_t *p = NULL; |