Comment out `_glibtop_init_hook_s'.
2000-01-12 Martin Baulig <martin@home-of-linux.org> * lib/init.c (glibtop_init_s): Comment out `_glibtop_init_hook_s'.
This commit is contained in:
committed by
Martin Baulig
parent
62c59f6087
commit
50f0929ae8
@@ -1,5 +1,7 @@
|
|||||||
2000-01-12 Martin Baulig <martin@home-of-linux.org>
|
2000-01-12 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
|
* lib/init.c (glibtop_init_s): Comment out `_glibtop_init_hook_s'.
|
||||||
|
|
||||||
* configure.in: We now require libxml.
|
* configure.in: We now require libxml.
|
||||||
(LIBGTOP_LIBS): Remove all backend libraries.
|
(LIBGTOP_LIBS): Remove all backend libraries.
|
||||||
(LIBGTOP_EXTRA_LIBS): Add $(LIBGTOP_XML_LIB) here.
|
(LIBGTOP_EXTRA_LIBS): Add $(LIBGTOP_XML_LIB) here.
|
||||||
|
@@ -247,7 +247,9 @@ glibtop *
|
|||||||
glibtop_init_s (glibtop **server_ptr, unsigned long features, unsigned flags)
|
glibtop_init_s (glibtop **server_ptr, unsigned long features, unsigned flags)
|
||||||
{
|
{
|
||||||
glibtop *server;
|
glibtop *server;
|
||||||
|
#if 0
|
||||||
glibtop_init_func_t *init_fkt;
|
glibtop_init_func_t *init_fkt;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (server_ptr == NULL)
|
if (server_ptr == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
@@ -262,6 +264,7 @@ glibtop_init_s (glibtop **server_ptr, unsigned long features, unsigned flags)
|
|||||||
if (flags & GLIBTOP_INIT_NO_INIT)
|
if (flags & GLIBTOP_INIT_NO_INIT)
|
||||||
return server;
|
return server;
|
||||||
|
|
||||||
|
#if 0
|
||||||
/* Do the initialization, but only if not already initialized. */
|
/* Do the initialization, but only if not already initialized. */
|
||||||
|
|
||||||
if ((server->flags & _GLIBTOP_INIT_STATE_SYSDEPS) == 0) {
|
if ((server->flags & _GLIBTOP_INIT_STATE_SYSDEPS) == 0) {
|
||||||
@@ -274,6 +277,7 @@ glibtop_init_s (glibtop **server_ptr, unsigned long features, unsigned flags)
|
|||||||
|
|
||||||
server->flags |= _GLIBTOP_INIT_STATE_SYSDEPS;
|
server->flags |= _GLIBTOP_INIT_STATE_SYSDEPS;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return server;
|
return server;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user