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>
|
||||
|
||||
* lib/init.c (glibtop_init_s): Comment out `_glibtop_init_hook_s'.
|
||||
|
||||
* configure.in: We now require libxml.
|
||||
(LIBGTOP_LIBS): Remove all backend libraries.
|
||||
(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 *server;
|
||||
#if 0
|
||||
glibtop_init_func_t *init_fkt;
|
||||
#endif
|
||||
|
||||
if (server_ptr == NULL)
|
||||
return NULL;
|
||||
@@ -262,6 +264,7 @@ glibtop_init_s (glibtop **server_ptr, unsigned long features, unsigned flags)
|
||||
if (flags & GLIBTOP_INIT_NO_INIT)
|
||||
return server;
|
||||
|
||||
#if 0
|
||||
/* Do the initialization, but only if not already initialized. */
|
||||
|
||||
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;
|
||||
}
|
||||
#endif
|
||||
|
||||
return server;
|
||||
}
|
||||
|
Reference in New Issue
Block a user