Some more patchelttes from Larry Doolittle.
[oweals/busybox.git] / ps.c
diff --git a/ps.c b/ps.c
index dd154af9d889c0aefe72312d50e586b04c135300..bf162bbe53e21ef7775d01842bd47b94c1b88011 100644 (file)
--- a/ps.c
+++ b/ps.c
@@ -28,7 +28,6 @@
  *
  */
 
-#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -38,9 +37,7 @@
 #include <ctype.h>
 #include <string.h>
 #include <sys/ioctl.h>
-#define BB_DECLARE_EXTERN
-#define bb_need_help
-#include "messages.c"
+#include "busybox.h"
 
 static const int TERMINAL_WIDTH = 79;      /* not 80 in case terminal has linefold bug */
 
@@ -97,7 +94,7 @@ static void parse_proc_status(char *S, proc_t * P)
        else
                error_msg("Internal error!");
 
-       /* For busybox, ignoring effective, saved, etc */
+       /* For busybox, ignoring effective, saved, etc. */
        tmp = strstr(S, "Uid:");
        if (tmp)
                sscanf(tmp, "Uid:\t%d", &P->ruid);