ps: minor reformatting and trailing whitespace elimination

This patch mostly reorganizes include files and eliminates
some useless trailing whitespace.

It also adopts the standard procps-ng unconditional approach
to nls initialization.
This commit is contained in:
Jim Warner
2011-12-27 16:22:43 -06:00
committed by Craig Small
parent fe20653a4e
commit 71b72b36ce
9 changed files with 59 additions and 65 deletions

View File

@ -21,7 +21,6 @@
* For example, Digital prints the real-time signals.
*/
/*
* Data table idea:
*
@ -40,6 +39,7 @@
*/
#include <ctype.h>
#include <dlfcn.h>
#include <fcntl.h>
#include <grp.h>
#include <limits.h>
@ -47,13 +47,13 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/resource.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <time.h>
#include <unistd.h>
#include <dlfcn.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/resource.h>
#include <sys/types.h>
#include "../proc/readproc.h"
#include "../proc/sysinfo.h"
@ -61,6 +61,7 @@
#include "../proc/procps.h"
#include "../proc/devname.h"
#include "../proc/escape.h"
#include "common.h"
/* TODO: