sysctl: fixup build system

Remove the external definition of the procio function.
This commit is contained in:
Craig Small 2018-03-12 13:06:08 +11:00
parent 8954e4349c
commit f46865eaf3
3 changed files with 3 additions and 14 deletions

View 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

View File

@ -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

View File

@ -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...
*/