diff options
author | Craig Small <csmall@enc.com.au> | 2018-03-12 13:06:08 +1100 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2018-03-12 13:06:08 +1100 |
commit | f46865eaf3d5366355b7d501645f439c28a44107 (patch) | |
tree | 551777143f5c938548575b024cd0136e159af7a4 | |
parent | 8954e4349cb4ee74d2917771d651ab68ad6b5d2f (diff) | |
download | procps-ng-f46865eaf3d5366355b7d501645f439c28a44107.tar.gz |
sysctl: fixup build system
Remove the external definition of the procio function.
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | proc/procio.h | 11 | ||||
-rw-r--r-- | sysctl.c | 3 |
3 files changed, 3 insertions, 14 deletions
diff --git a/Makefile.am b/Makefile.am index dfc9738..68b0191 100644 --- a/Makefile.am +++ b/Makefile.am @@ -198,8 +198,7 @@ pwdx_LDADD= $(CYGWINFLAGS) sysctl_SOURCES = \ sysctl.c \ lib/fileutils.c \ - procio.c \ - procio.h + procio.c endif tload_SOURCES = tload.c lib/strutils.c lib/fileutils.c uptime_SOURCES = uptime.c lib/fileutils.c diff --git a/proc/procio.h b/proc/procio.h deleted file mode 100644 index c965561..0000000 --- a/proc/procio.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef PROCPS_PROC_PROCIO_H -#define PROCPS_PROC_PROCIO_H - -#include "procps.h" - -EXTERN_C_BEGIN - -extern FILE *fprocopen(const char *, const char *); - -EXTERN_C_END -#endif @@ -45,10 +45,11 @@ #include "fileutils.h" #include "nls.h" #include "xalloc.h" -#include "proc/procio.h" #include "proc/procps.h" #include "proc/version.h" +extern FILE *fprocopen(const char *, const char *); + /* * Globals... */ |