diff options
author | Benoît Dejean <bdejean@src.gnome.org> | 2005-08-02 09:47:21 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2005-08-02 09:47:21 +0000 |
commit | 78cb7832c50f0cbb8225a201d46539198cf99a25 (patch) | |
tree | 907169723e04fa7a360739f8ca00c714e7104efd /lib/init.c | |
parent | b3979e69426cd74386ed9fc6e99f55a4ec353b88 (diff) | |
download | libgtop-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 'lib/init.c')
-rw-r--r-- | lib/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -26,6 +26,7 @@ #include <glibtop/sysdeps.h> #include <glibtop/open.h> #include <glibtop/parameter.h> +#include <glibtop/init_hooks.h> #ifndef DEFAULT_PORT #define DEFAULT_PORT 42800 @@ -219,7 +220,7 @@ glibtop * glibtop_init_s (glibtop **server_ptr, unsigned long features, unsigned flags) { glibtop *server; - glibtop_init_func_t *init_fkt; + const glibtop_init_func_t *init_fkt; if (server_ptr == NULL) return NULL; |