sysctl: Bring procio functions out of library

The procio functions that were in the library have been
moved into sysctl. sysctl is not linked to libprocps in
newlib and none of the other procps binaries would need
to read/write large data to the procfs.

References:
 be6b048a41
This commit is contained in:
Craig Small 2018-03-01 21:25:04 +11:00
parent 20ce03e08c
commit e72f30549b
2 changed files with 5 additions and 4 deletions

View File

@ -210,7 +210,11 @@ pmap_SOURCES = pmap.c lib/fileutils.c
if !CYGWIN if !CYGWIN
pwdx_SOURCES = pwdx.c lib/fileutils.c pwdx_SOURCES = pwdx.c lib/fileutils.c
pwdx_LDADD= $(CYGWINFLAGS) pwdx_LDADD= $(CYGWINFLAGS)
sysctl_SOURCES = sysctl.c lib/fileutils.c sysctl_SOURCES = \
sysctl.c \
lib/fileutils.c \
procio.c \
procio.h
sysctl_LDADD= sysctl_LDADD=
endif endif
tload_SOURCES = tload.c lib/strutils.c lib/fileutils.c tload_SOURCES = tload.c lib/strutils.c lib/fileutils.c
@ -252,8 +256,6 @@ proc_libprocps_la_SOURCES = \
proc/numa.h \ proc/numa.h \
proc/pids.c \ proc/pids.c \
proc/pids.h \ proc/pids.h \
proc/procio.c \
proc/procio.h \
proc/procps.h \ proc/procps.h \
proc/pwcache.c \ proc/pwcache.c \
proc/pwcache.h \ proc/pwcache.h \
@ -284,7 +286,6 @@ proc_libprocps_la_include_HEADERS = \
proc/namespace.h \ proc/namespace.h \
proc/numa.h \ proc/numa.h \
proc/pids.h \ proc/pids.h \
proc/procio.h \
proc/procps.h \ proc/procps.h \
proc/pwcache.h \ proc/pwcache.h \
proc/readproc.h \ proc/readproc.h \