summaryrefslogtreecommitdiff
path: root/procps/ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/ps.c')
-rw-r--r--procps/ps.c2
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;