]> granicus.if.org Git - procps-ng/commitdiff
sysctl: fixup build system
authorCraig Small <csmall@enc.com.au>
Mon, 12 Mar 2018 02:06:08 +0000 (13:06 +1100)
committerCraig Small <csmall@enc.com.au>
Mon, 12 Mar 2018 02:06:08 +0000 (13:06 +1100)
Remove the external definition of the procio function.

Makefile.am
proc/procio.h [deleted file]
sysctl.c

index dfc97383c472b68fb18c023903d4138bd07b4869..68b0191bd53aa90e031a1af862bb732cca79fc48 100644 (file)
@@ -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 (file)
index c965561..0000000
+++ /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
index c8a5c47d0e65b255723709dcddbb1393a433d7fb..2371ca9ae8fc05c487ea46707ed5be314353b789 100644 (file)
--- a/sysctl.c
+++ b/sysctl.c
 #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...
  */