sysctl: relocate the procio code to a more proper home

Now that the procio logic was removed from the library
we must move the header file, lest we break make dist.

In the process, we will relocate that source file too.

[ we'll take a slightly different approach than that ]
[ used under the master branch by exploiting those 2 ]
[ non-library directories 'include' and 'lib', while ]
[ avoiding any sysctl hard coded function prototype. ]

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2018-04-01 00:00:00 -06:00 committed by Craig Small
parent 5d8746b941
commit c2a29d370c
6 changed files with 3 additions and 3 deletions

View File

@ -213,8 +213,7 @@ pwdx_LDADD= $(CYGWINFLAGS)
sysctl_SOURCES = \ sysctl_SOURCES = \
sysctl.c \ sysctl.c \
lib/fileutils.c \ lib/fileutils.c \
procio.c \ lib/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

View File

@ -2,6 +2,7 @@ dist_noinst_HEADERS = \
c.h \ c.h \
fileutils.h \ fileutils.h \
nls.h \ nls.h \
procio.h \
rpmatch.h \ rpmatch.h \
signals.h \ signals.h \
strutils.h \ strutils.h \

View File

@ -45,7 +45,7 @@
#include "fileutils.h" #include "fileutils.h"
#include "nls.h" #include "nls.h"
#include "xalloc.h" #include "xalloc.h"
#include "proc/procio.h" #include "procio.h"
/* /*
* Globals... * Globals...