diff options
author | Martin Baulig <martin@src.gnome.org> | 1998-06-14 02:26:32 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-06-14 02:26:32 +0000 |
commit | 7ffc53f45e5604440f6d763f07162a1854031700 (patch) | |
tree | 10a7424371a05286812f0958feabc48ba7d630de | |
parent | 6ea7e47194997023cb579d6e9216b32e228e2fe0 (diff) | |
download | libgtop-7ffc53f45e5604440f6d763f07162a1854031700.tar.gz |
*** empty log message ***
-rw-r--r-- | examples/first.c | 2 | ||||
-rw-r--r-- | examples/second.c | 10 | ||||
-rw-r--r-- | examples/third.c | 10 | ||||
-rw-r--r-- | lib/.cvsignore | 1 | ||||
-rw-r--r-- | src/proxy/main.c | 10 | ||||
-rw-r--r-- | sysdeps/guile/.cvsignore | 1 | ||||
-rw-r--r-- | sysdeps/guile/Makefile.am | 6 | ||||
-rw-r--r-- | sysdeps/guile/names/.cvsignore | 1 |
8 files changed, 35 insertions, 6 deletions
diff --git a/examples/first.c b/examples/first.c index 2853eb2a..d65657e3 100644 --- a/examples/first.c +++ b/examples/first.c @@ -33,6 +33,7 @@ #define PROFILE_COUNT 1 #endif +#ifdef HAVE_LINUX_TABLE #include <unistd.h> #include <linux/unistd.h> #include <linux/table.h> @@ -40,6 +41,7 @@ #include <syscall.h> _syscall3 (int, table, int, type, union table *, tbl, const void *, param); +#endif int main (int argc, char *argv []) diff --git a/examples/second.c b/examples/second.c index 423111ab..4ebffe1f 100644 --- a/examples/second.c +++ b/examples/second.c @@ -29,6 +29,16 @@ #include <glibtop/union.h> #include <glibtop/sysdeps.h> +#ifdef HAVE_LINUX_TABLE +#include <unistd.h> +#include <linux/unistd.h> +#include <linux/table.h> + +#include <syscall.h> + +_syscall3 (int, table, int, type, union table *, tbl, const void *, param); +#endif + int main (int argc, char *argv []) { diff --git a/examples/third.c b/examples/third.c index 261ba8c3..f5d41c0d 100644 --- a/examples/third.c +++ b/examples/third.c @@ -32,6 +32,16 @@ void main_prog(int argc, char *argv[]); +#ifdef HAVE_LINUX_TABLE +#include <unistd.h> +#include <linux/unistd.h> +#include <linux/table.h> + +#include <syscall.h> + +_syscall3 (int, table, int, type, union table *, tbl, const void *, param); +#endif + int main (int argc, char *argv[]) { diff --git a/lib/.cvsignore b/lib/.cvsignore index 221fbc2f..27fc4990 100644 --- a/lib/.cvsignore +++ b/lib/.cvsignore @@ -32,3 +32,4 @@ sysinfo.lo uptime.lo write.lo xmalloc.lo +lib.c diff --git a/src/proxy/main.c b/src/proxy/main.c index a71df0a2..dd7cd58d 100644 --- a/src/proxy/main.c +++ b/src/proxy/main.c @@ -36,6 +36,16 @@ #define GET_MAX_FDS() 256 #endif +#ifdef HAVE_LINUX_TABLE +#include <unistd.h> +#include <linux/unistd.h> +#include <linux/table.h> + +#include <syscall.h> + +_syscall3 (int, table, int, type, union table *, tbl, const void *, param); +#endif + int main(int argc, char *argv[]) { diff --git a/sysdeps/guile/.cvsignore b/sysdeps/guile/.cvsignore index 3956f7f4..80292200 100644 --- a/sysdeps/guile/.cvsignore +++ b/sysdeps/guile/.cvsignore @@ -23,3 +23,4 @@ so_locations swap.lo sysdeps.lo uptime.lo +guile.c diff --git a/sysdeps/guile/Makefile.am b/sysdeps/guile/Makefile.am index 50372156..ed83e8e0 100644 --- a/sysdeps/guile/Makefile.am +++ b/sysdeps/guile/Makefile.am @@ -14,12 +14,6 @@ CFLAGS = -Wall -W @CFLAGS@ lib_LTLIBRARIES = libgtop_guile.la -libgtop_guile_la_SOURCES = boot.c sysdeps.c cpu.c mem.c swap.c uptime.c \ - loadavg.c shm_limits.c msg_limits.c \ - sem_limits.c proclist.c procstate.c procuid.c \ - proctime.c procmem.c procsignal.c prockernel.c \ - procsegment.c - libgtop_guile_la_SOURCES = guile.c BUILT_SOURCES = guile.c diff --git a/sysdeps/guile/names/.cvsignore b/sysdeps/guile/names/.cvsignore index e5baa455..da876484 100644 --- a/sysdeps/guile/names/.cvsignore +++ b/sysdeps/guile/names/.cvsignore @@ -24,3 +24,4 @@ so_locations swap.lo sysdeps.lo uptime.lo +guile-names.c |