changed call of 'glibtop_init__r', it now takes two additional arguments.

* sysdeps/linux/*.c: changed call of 'glibtop_init__r',
it now takes two additional arguments.
This commit is contained in:
Martin Baulig
1998-06-01 15:21:19 +00:00
parent 080dd0850b
commit 2546fa37eb
20 changed files with 25 additions and 20 deletions

View File

@@ -26,14 +26,16 @@ static glibtop _glibtop_global_server;
glibtop *glibtop_global_server = NULL;
glibtop *
glibtop_init__r (glibtop **server)
glibtop_init__r (glibtop **server, const unsigned long features,
const unsigned flags)
{
if (*server != NULL)
return *server;
if (glibtop_global_server == NULL) {
glibtop_global_server = &_glibtop_global_server;
glibtop_open (glibtop_global_server, "glibtop");
glibtop_open (glibtop_global_server, "glibtop",
features, flags);
}
return *server = glibtop_global_server;