sysctl: fixup build system
Remove the external definition of the procio function.
This commit is contained in:
parent
8954e4349c
commit
f46865eaf3
@ -198,8 +198,7 @@ pwdx_LDADD= $(CYGWINFLAGS)
|
|||||||
sysctl_SOURCES = \
|
sysctl_SOURCES = \
|
||||||
sysctl.c \
|
sysctl.c \
|
||||||
lib/fileutils.c \
|
lib/fileutils.c \
|
||||||
procio.c \
|
procio.c
|
||||||
procio.h
|
|
||||||
endif
|
endif
|
||||||
tload_SOURCES = tload.c lib/strutils.c lib/fileutils.c
|
tload_SOURCES = tload.c lib/strutils.c lib/fileutils.c
|
||||||
uptime_SOURCES = uptime.c lib/fileutils.c
|
uptime_SOURCES = uptime.c lib/fileutils.c
|
||||||
|
@ -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
|
|
3
sysctl.c
3
sysctl.c
@ -45,10 +45,11 @@
|
|||||||
#include "fileutils.h"
|
#include "fileutils.h"
|
||||||
#include "nls.h"
|
#include "nls.h"
|
||||||
#include "xalloc.h"
|
#include "xalloc.h"
|
||||||
#include "proc/procio.h"
|
|
||||||
#include "proc/procps.h"
|
#include "proc/procps.h"
|
||||||
#include "proc/version.h"
|
#include "proc/version.h"
|
||||||
|
|
||||||
|
extern FILE *fprocopen(const char *, const char *);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Globals...
|
* Globals...
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user