diff options
author | Martin Baulig <baulig@suse.de> | 2001-04-20 17:48:55 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 2001-04-20 17:48:55 +0000 |
commit | 3b7c1099168b7b04dbc501adc371a7f624a091d8 (patch) | |
tree | 617702ff9965db6447d8cdd56d260681cfaa3390 | |
parent | c5fcc9aad67c670b9faf6582c8f52b37ddced722 (diff) | |
download | libgtop-3b7c1099168b7b04dbc501adc371a7f624a091d8.tar.gz |
Removed this typedef. (glibtop_server): Made the `_priv' field a `void *'.
2001-04-20 Martin Baulig <baulig@suse.de>
* 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.
-rw-r--r-- | glibtop.h | 6 | ||||
-rw-r--r-- | lib/glibtop-server-private.h (renamed from glibtop-server-private.h) | 2 |
2 files changed, 3 insertions, 5 deletions
@@ -38,17 +38,13 @@ BEGIN_LIBGTOP_DECLS -typedef struct _glibtop glibtop; +typedef struct _glibtop glibtop; #include <glibtop/sysdeps.h> #include <glibtop/errors.h> #include <glibtop/glibtop-server.h> -#ifdef _IN_LIBGTOP -#include <glibtop-server-private.h> -#endif - glibtop * glibtop_init_r (glibtop **server_ptr, unsigned long features, diff --git a/glibtop-server-private.h b/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 <glib.h> +typedef struct _glibtop_server_private glibtop_server_private; + struct _glibtop_server_private { #ifdef HAVE_GLIBTOP_MACHINE_H |