big header clean-up

This commit is contained in:
albert
2002-12-09 07:00:07 +00:00
parent 4382008ad0
commit 5087f3dbf6
23 changed files with 150 additions and 53 deletions

View File

@ -1,5 +1,10 @@
#ifndef PROC_DEVNAME_H
#define PROC_DEVNAME_H
#include "procps.h"
EXTERN_C_BEGIN
#define ABBREV_DEV 1 /* remove /dev/ */
#define ABBREV_TTY 2 /* remove tty */
#define ABBREV_PTS 4 /* remove pts/ */
@ -7,3 +12,6 @@
extern unsigned dev_to_tty(char *restrict ret, unsigned chop, int dev, int pid, unsigned int flags);
extern int tty_to_dev(const char *restrict const name);
EXTERN_C_END
#endif