From 080dd0850bee995e57786406436e0b54db16b672 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Mon, 1 Jun 1998 15:15:56 +0000 Subject: [PATCH] now using 'glibtop_init' instead of 'glibtop_init__r'. * examples/{first.c, second.c}: now using 'glibtop_init' instead of 'glibtop_init__r'. --- examples/Makefile.am | 6 +++--- examples/first.c | 2 +- examples/second.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 9984ca10..34f06fa1 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -17,8 +17,8 @@ EXTRA_PROGRAMS = third third_static first_SOURCES = first.c first_LDADD = $(top_builddir)/sysdeps/common/libgtop_common.la \ - $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps.la \ $(top_builddir)/lib/libgtop.la \ + $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps.la \ @INTLLIBS@ @LIBSUPPORT@ first_static_SOURCES = $(first_SOURCES) @@ -27,8 +27,8 @@ first_static_LDFLAGS = -static second_SOURCES = second.c second_LDADD = $(top_builddir)/sysdeps/common/libgtop_common.la \ - $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps.la \ $(top_builddir)/lib/libgtop.la \ + $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps.la \ @INTLLIBS@ @LIBSUPPORT@ second_static_SOURCES = $(second_SOURCES) @@ -43,9 +43,9 @@ endif third_SOURCES = third.c third_LDADD = $(top_builddir)/sysdeps/guile/libgtop_guile.la \ $(third_guile_names_LIBS) $(third_names_LIBS) \ + $(top_builddir)/lib/libgtop.la \ $(top_builddir)/sysdeps/common/libgtop_common.la \ $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps.la \ - $(top_builddir)/lib/libgtop.la \ @GUILE_LIBS@ @INTLLIBS@ @LIBSUPPORT@ third_static_SOURCES = $(third_SOURCES) diff --git a/examples/first.c b/examples/first.c index edd7e0eb..c4f32e6e 100644 --- a/examples/first.c +++ b/examples/first.c @@ -39,7 +39,7 @@ main (int argc, char *argv []) bindtextdomain (PACKAGE, GTOPLOCALEDIR); textdomain (PACKAGE); - glibtop_init__r (&glibtop_global_server); + glibtop_init (); glibtop_get_cpu (&data.cpu); diff --git a/examples/second.c b/examples/second.c index c3d1b0f5..9dbb73ce 100644 --- a/examples/second.c +++ b/examples/second.c @@ -39,7 +39,7 @@ main (int argc, char *argv []) bindtextdomain (PACKAGE, GTOPLOCALEDIR); textdomain (PACKAGE); - glibtop_init__r (&glibtop_global_server); + glibtop_init (); glibtop_get_sysdeps (&sysdeps);