Using #include "*.h"' instead of #include "proc/*.h"'.

This commit is contained in:
Martin Baulig
1998-07-29 13:01:25 +00:00
parent aa6d16e47b
commit 8b9b984701
8 changed files with 17 additions and 17 deletions

View File

@@ -9,8 +9,8 @@
#include <string.h> /* for strcmp */
#include <stdio.h> /* for parse error output */
#include "proc/readproc.h" /* for proc_t */
#include "proc/tree.h" /* for struct tree_node */
#include "readproc.h" /* for proc_t */
#include "tree.h" /* for struct tree_node */
/*
This module was written by Charles Blake for procps.

View File

@@ -22,9 +22,9 @@
#include <sys/stat.h>
#include <sys/mman.h>
#include <sys/utsname.h>
#include "proc/psdata.h"
#include "proc/ps.h"
#include "proc/version.h"
#include "psdata.h"
#include "ps.h"
#include "version.h"
#define MAX_ADDR_SZ 32
static char *sysmap, *sysmap_last, sysmap_fmt[10];

View File

@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <pwd.h>
#include "proc/ps.h"
#include "ps.h"
#define HASHSIZE 16 /* power of 2 */
#define HASH(x) ((x) & (HASHSIZE - 1))

View File

@@ -2,10 +2,10 @@
* New Interface to Process Table -- PROCTAB Stream (a la Directory streams)
* Copyright(C) 1996. Charles L. Blake.
*/
#include "proc/version.h"
#include "proc/readproc.h"
#include "proc/devname.h"
#include "proc/ps.h"
#include "version.h"
#include "readproc.h"
#include "devname.h"
#include "ps.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>

View File

@@ -4,7 +4,7 @@
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "proc/signals.h"
#include "signals.h"
typedef struct {

View File

@@ -1,5 +1,5 @@
#include "proc/ps.h"
#include "proc/readproc.h"
#include "ps.h"
#include "readproc.h"
char * status(proc_t* task) {
static char buf[4] = " ";

View File

@@ -1,5 +1,5 @@
/* File for parsing top-level /proc entities. */
#include "proc/sysinfo.h"
#include "sysinfo.h"
#include <stdio.h>
#include <stdlib.h>
@@ -8,7 +8,7 @@
#include <unistd.h>
#include <fcntl.h>
#include "proc/version.h"
#include "version.h"
#define BAD_OPEN_MESSAGE \
"Error: /proc must be mounted\n" \

View File

@@ -21,8 +21,8 @@
#include <time.h>
#include <utmp.h>
#include <sys/ioctl.h>
#include "proc/whattime.h"
#include "proc/sysinfo.h"
#include "whattime.h"
#include "sysinfo.h"
static char buf[128];
double av[3];