summaryrefslogtreecommitdiff
path: root/include/glibtop/cpu.h
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1999-02-19 09:54:18 +0000
committerMartin Baulig <martin@src.gnome.org>1999-02-19 09:54:18 +0000
commit1272d38f722df8a415e2bdbeac908b2e461f666b (patch)
tree75820bdd6cdecc41e33055749b5dc3947f349084 /include/glibtop/cpu.h
parent2b96f77245b4b43419b5027a36c4bf6c23c8e1f4 (diff)
downloadlibgtop-1272d38f722df8a415e2bdbeac908b2e461f666b.tar.gz
Replace all __BEGIN_DELCS with LIBGTOP_BEGIN_DECLS and all __END_DECLS
1999-02-19 Martin Baulig <martin@home-of-linux.org> * Replace all __BEGIN_DELCS with LIBGTOP_BEGIN_DECLS and all __END_DECLS with LIBGTOP_END_DECLS; remove all __P macros and use real function prototypes.
Diffstat (limited to 'include/glibtop/cpu.h')
-rw-r--r--include/glibtop/cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/glibtop/cpu.h b/include/glibtop/cpu.h
index 602c1985..6c3b8495 100644
--- a/include/glibtop/cpu.h
+++ b/include/glibtop/cpu.h
@@ -25,7 +25,7 @@
#include <glibtop.h>
#include <glibtop/global.h>
-__BEGIN_DECLS
+BEGIN_LIBGTOP_DECLS
#define GLIBTOP_CPU_TOTAL 0
#define GLIBTOP_CPU_USER 1
@@ -71,7 +71,7 @@ struct _glibtop_cpu
#define glibtop_get_cpu_r glibtop_get_cpu_s
#endif
-void glibtop_get_cpu_l __P((glibtop *, glibtop_cpu *));
+void glibtop_get_cpu_l (glibtop *server, glibtop_cpu *buf);
#if GLIBTOP_SUID_CPU
void glibtop_init_cpu_p (glibtop *server);
@@ -92,6 +92,6 @@ extern const char *glibtop_descriptions_cpu [];
#endif
-__END_DECLS
+END_LIBGTOP_DECLS
#endif