From: Craig Small Date: Tue, 1 Sep 2015 10:57:56 +0000 (+1000) Subject: sysctl: Remove links to library X-Git-Tag: v4.0.0~1054 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f44172a5e30e9372cec657f4ec4247603427f63;p=procps-ng sysctl: Remove links to library sysctl doesn't use any symbols from the libprocps library so this update removes those dependencies. --- diff --git a/Makefile.am b/Makefile.am index fb98c077..b88ba074 100644 --- a/Makefile.am +++ b/Makefile.am @@ -128,6 +128,7 @@ pmap_SOURCES = pmap.c lib/fileutils.c pwdx_SOURCES = pwdx.c lib/fileutils.c pwdx_LDADD= sysctl_SOURCES = sysctl.c lib/fileutils.c +sysctl_LDADD= tload_SOURCES = tload.c lib/strutils.c lib/fileutils.c uptime_SOURCES = uptime.c lib/fileutils.c vmstat_SOURCES = vmstat.c lib/strutils.c lib/fileutils.c diff --git a/sysctl.c b/sysctl.c index dcf3a710..fb073187 100644 --- a/sysctl.c +++ b/sysctl.c @@ -45,8 +45,6 @@ #include "fileutils.h" #include "nls.h" #include "xalloc.h" -#include "proc/procps.h" -#include "proc/version.h" /* * Globals...