Don't call glibtop_init_s() anymore, this is deprecated.
2000-11-22 Martin Baulig <martin@home-of-linux.org> * fsusage.c, moutlist.c: Don't call glibtop_init_s() anymore, this is deprecated. * Makefile.am: Don't install libgtop_common.la
This commit is contained in:
committed by
Martin Baulig
parent
035b387463
commit
81b009733e
@@ -1,3 +1,10 @@
|
|||||||
|
2000-11-22 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
|
* 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 <martin@home-of-linux.org>
|
2000-02-24 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
* fsusage.c: True64 fix from Aron Griffis: we need to
|
* fsusage.c: True64 fix from Aron Griffis: we need to
|
||||||
|
@@ -14,16 +14,13 @@ endif
|
|||||||
|
|
||||||
CFLAGS = @CFLAGS@ $(inodedb_DEFS)
|
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 \
|
libgtop_common_la_SOURCES = fsusage.c fsusage.h mountlist.c mountlist.h \
|
||||||
$(inodedb_SRCLIST)
|
$(inodedb_SRCLIST)
|
||||||
|
|
||||||
libgtop_common_la_LDFLAGS = $(LT_VERSION_INFO) $(dynamic_ldflags)
|
|
||||||
libgtop_common_la_LIBADD = $(LIBGTOP_EXTRA_LIBS)
|
libgtop_common_la_LIBADD = $(LIBGTOP_EXTRA_LIBS)
|
||||||
|
|
||||||
libgtop_suid_common_la_SOURCES = xmalloc_suid.c error.c sysdeps_suid.c
|
libgtop_suid_common_la_SOURCES = xmalloc_suid.c error_suid.c sysdeps_suid.c
|
||||||
|
|
||||||
libgtop_suid_common_la_LDFLAGS = $(LT_VERSION_INFO)
|
|
||||||
|
|
||||||
EXTRA_DIST = inodedb.c
|
EXTRA_DIST = inodedb.c
|
||||||
|
@@ -296,8 +296,6 @@ glibtop_get_fsusage_s (glibtop_server *server, glibtop_fsusage *buf,
|
|||||||
{
|
{
|
||||||
struct fs_usage fsp;
|
struct fs_usage fsp;
|
||||||
|
|
||||||
glibtop_init_s (server, 0, 0);
|
|
||||||
|
|
||||||
memset (buf, 0, sizeof (glibtop_fsusage));
|
memset (buf, 0, sizeof (glibtop_fsusage));
|
||||||
memset (&fsp, 0, sizeof (struct fs_usage));
|
memset (&fsp, 0, sizeof (struct fs_usage));
|
||||||
|
|
||||||
|
@@ -595,8 +595,6 @@ glibtop_get_mountlist_s (glibtop_server *server, glibtop_mountlist *buf,
|
|||||||
glibtop_mountentry *mount_list;
|
glibtop_mountentry *mount_list;
|
||||||
int count;
|
int count;
|
||||||
|
|
||||||
glibtop_init_s (server, 0, 0);
|
|
||||||
|
|
||||||
memset (buf, 0, sizeof (glibtop_mountlist));
|
memset (buf, 0, sizeof (glibtop_mountlist));
|
||||||
|
|
||||||
/* Read filesystem list. */
|
/* Read filesystem list. */
|
||||||
|
Reference in New Issue
Block a user