diff --git a/sysdeps/linux/init.c b/sysdeps/linux/init.c index a3cb49ef..e39cfd29 100644 --- a/sysdeps/linux/init.c +++ b/sysdeps/linux/init.c @@ -34,8 +34,8 @@ glibtop_init__r (glibtop **server, const unsigned long features, if (glibtop_global_server == NULL) { glibtop_global_server = &_glibtop_global_server; - glibtop_open (glibtop_global_server, "glibtop", - features, flags); + glibtop_open__r (glibtop_global_server, "glibtop", + features, flags); } return *server = glibtop_global_server; diff --git a/sysdeps/linux/open.c b/sysdeps/linux/open.c index 5645683a..2c89a579 100644 --- a/sysdeps/linux/open.c +++ b/sysdeps/linux/open.c @@ -51,8 +51,8 @@ static void set_linux_version(void) { /* Opens pipe to gtop server. Returns 0 on success and -1 on error. */ void -glibtop_open (glibtop *server, const char *program_name, - const unsigned long features, const unsigned flags) +glibtop_open__r (glibtop *server, const char *program_name, + const unsigned long features, const unsigned flags) { memset (server, 0, sizeof (glibtop)); server->name = program_name;