From 3b7c1099168b7b04dbc501adc371a7f624a091d8 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Fri, 20 Apr 2001 17:48:55 +0000 Subject: [PATCH] Removed this typedef. (glibtop_server): Made the `_priv' field a `void *'. 2001-04-20 Martin Baulig * include/glibtop/glibtop-server.h (glibtop_server_private): Removed this typedef. (glibtop_server): Made the `_priv' field a `void *'. * glibtop-server-private.h: Moved to lib/. * lib/glibtop-server-private.h (glibtop_server_private): Moved this typedef here. --- glibtop.h | 6 +----- glibtop-server-private.h => lib/glibtop-server-private.h | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) rename glibtop-server-private.h => lib/glibtop-server-private.h (95%) diff --git a/glibtop.h b/glibtop.h index 5e9bba87..4b13da5e 100644 --- a/glibtop.h +++ b/glibtop.h @@ -38,17 +38,13 @@ BEGIN_LIBGTOP_DECLS -typedef struct _glibtop glibtop; +typedef struct _glibtop glibtop; #include #include #include -#ifdef _IN_LIBGTOP -#include -#endif - glibtop * glibtop_init_r (glibtop **server_ptr, unsigned long features, diff --git a/glibtop-server-private.h b/lib/glibtop-server-private.h similarity index 95% rename from glibtop-server-private.h rename to lib/glibtop-server-private.h index c17b28a8..403844ee 100644 --- a/glibtop-server-private.h +++ b/lib/glibtop-server-private.h @@ -32,6 +32,8 @@ #include +typedef struct _glibtop_server_private glibtop_server_private; + struct _glibtop_server_private { #ifdef HAVE_GLIBTOP_MACHINE_H