procio: remove glibc dependency & make a proper header
Duplicate that <libio.h> change made in master branch. While we're at it, let's remove an unnecessary include from procio.h and reflect in its single prototype what those 'const char *' params are really supposed to be. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
c2a29d370c
commit
06afd10525
@ -1,8 +1,6 @@
|
||||
#ifndef PROCPS_PROC_PROCIO_H
|
||||
#define PROCPS_PROC_PROCIO_H
|
||||
|
||||
#include "procps.h"
|
||||
|
||||
FILE *fprocopen(const char *, const char *);
|
||||
FILE *fprocopen(const char *path, const char *mode);
|
||||
|
||||
#endif
|
||||
|
@ -24,7 +24,6 @@
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <libio.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user