summaryrefslogtreecommitdiff
path: root/include/glibtop/sysdeps.h
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2005-08-02 09:47:21 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2005-08-02 09:47:21 +0000
commit78cb7832c50f0cbb8225a201d46539198cf99a25 (patch)
tree907169723e04fa7a360739f8ca00c714e7104efd /include/glibtop/sysdeps.h
parentb3979e69426cd74386ed9fc6e99f55a4ec353b88 (diff)
downloadlibgtop-78cb7832c50f0cbb8225a201d46539198cf99a25.tar.gz
Moved _glibtop_init_hook_[sp] declaration to private glibtop/init_hooks.h.
* configure.in: * include/glibtop/Makefile.am: * include/glibtop/glibtop-server.h: * include/glibtop/init_hooks.h: * include/glibtop/sysdeps.h: * lib/init.c: (glibtop_init_s): * lib/sysdeps.c: * sysdeps/aix/open.c: (glibtop_init_p): * sysdeps/common/sysdeps_suid.c: * sysdeps/freebsd/open.c: (glibtop_init_p): * sysdeps/osf1/open_suid.c: (glibtop_init_p): * sysdeps/solaris/open_suid.c: (glibtop_init_p): * sysdeps/stub_suid/open.c: (glibtop_init_p): Moved _glibtop_init_hook_[sp] declaration to private glibtop/init_hooks.h. Marked them const. Fixed GLIBTOP_SUID_NETLIST issues.
Diffstat (limited to 'include/glibtop/sysdeps.h')
-rw-r--r--include/glibtop/sysdeps.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/glibtop/sysdeps.h b/include/glibtop/sysdeps.h
index 545e796c..23d65c7f 100644
--- a/include/glibtop/sysdeps.h
+++ b/include/glibtop/sysdeps.h
@@ -58,10 +58,6 @@ G_BEGIN_DECLS
#define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1)
-typedef void (*glibtop_init_func_t) (glibtop *);
-extern glibtop_init_func_t _glibtop_init_hook_s [];
-extern glibtop_init_func_t _glibtop_init_hook_p [];
-
typedef struct _glibtop_sysdeps glibtop_sysdeps;
struct _glibtop_sysdeps