From 81b009733e78367672a515b297f6221cd23e21c4 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Wed, 22 Nov 2000 19:55:29 +0000 Subject: [PATCH] Don't call glibtop_init_s() anymore, this is deprecated. 2000-11-22 Martin Baulig * fsusage.c, moutlist.c: Don't call glibtop_init_s() anymore, this is deprecated. * Makefile.am: Don't install libgtop_common.la --- sysdeps/common/ChangeLog | 7 +++++++ sysdeps/common/Makefile.am | 7 ++----- sysdeps/common/fsusage.c | 2 -- sysdeps/common/mountlist.c | 2 -- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sysdeps/common/ChangeLog b/sysdeps/common/ChangeLog index 0d5feffa..92a9fc15 100644 --- a/sysdeps/common/ChangeLog +++ b/sysdeps/common/ChangeLog @@ -1,3 +1,10 @@ +2000-11-22 Martin Baulig + + * fsusage.c, moutlist.c: Don't call glibtop_init_s() anymore, + this is deprecated. + + * Makefile.am: Don't install libgtop_common.la + 2000-02-24 Martin Baulig * fsusage.c: True64 fix from Aron Griffis: we need to diff --git a/sysdeps/common/Makefile.am b/sysdeps/common/Makefile.am index 07c17eaa..377479b0 100644 --- a/sysdeps/common/Makefile.am +++ b/sysdeps/common/Makefile.am @@ -14,16 +14,13 @@ endif CFLAGS = @CFLAGS@ $(inodedb_DEFS) -lib_LTLIBRARIES = libgtop_common.la libgtop_suid_common.la +noinst_LTLIBRARIES = libgtop_common.la libgtop_suid_common.la libgtop_common_la_SOURCES = fsusage.c fsusage.h mountlist.c mountlist.h \ $(inodedb_SRCLIST) -libgtop_common_la_LDFLAGS = $(LT_VERSION_INFO) $(dynamic_ldflags) libgtop_common_la_LIBADD = $(LIBGTOP_EXTRA_LIBS) -libgtop_suid_common_la_SOURCES = xmalloc_suid.c error.c sysdeps_suid.c - -libgtop_suid_common_la_LDFLAGS = $(LT_VERSION_INFO) +libgtop_suid_common_la_SOURCES = xmalloc_suid.c error_suid.c sysdeps_suid.c EXTRA_DIST = inodedb.c diff --git a/sysdeps/common/fsusage.c b/sysdeps/common/fsusage.c index 4c2721da..3ffdc177 100644 --- a/sysdeps/common/fsusage.c +++ b/sysdeps/common/fsusage.c @@ -296,8 +296,6 @@ glibtop_get_fsusage_s (glibtop_server *server, glibtop_fsusage *buf, { struct fs_usage fsp; - glibtop_init_s (server, 0, 0); - memset (buf, 0, sizeof (glibtop_fsusage)); memset (&fsp, 0, sizeof (struct fs_usage)); diff --git a/sysdeps/common/mountlist.c b/sysdeps/common/mountlist.c index 55765c57..f09bd7f0 100644 --- a/sysdeps/common/mountlist.c +++ b/sysdeps/common/mountlist.c @@ -595,8 +595,6 @@ glibtop_get_mountlist_s (glibtop_server *server, glibtop_mountlist *buf, glibtop_mountentry *mount_list; int count; - glibtop_init_s (server, 0, 0); - memset (buf, 0, sizeof (glibtop_mountlist)); /* Read filesystem list. */