bae272fe22
This patch simply eliminates that glibc specific macro from all header files which contain no public callable functions. After all, if user code can't link to them, then protection from C++ name mangling is unnecessary. [ we also remove any related '#include <features.h>' ] Signed-off-by: Jim Warner <james.warner@comcast.net>
11 lines
319 B
C
11 lines
319 B
C
#ifndef PROC_DEVNAME_H
|
|
#define PROC_DEVNAME_H
|
|
|
|
#define ABBREV_DEV 1 /* remove /dev/ */
|
|
#define ABBREV_TTY 2 /* remove tty */
|
|
#define ABBREV_PTS 4 /* remove pts/ */
|
|
|
|
unsigned dev_to_tty(char *__restrict ret, unsigned chop, dev_t dev_t_dev, int pid, unsigned int flags);
|
|
|
|
#endif
|