diff options
author | Benoît Dejean <bdejean@src.gnome.org> | 2004-07-03 13:30:31 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2004-07-03 13:30:31 +0000 |
commit | b55ecd65bc07afe4dd7d5f7090b5ee80528261e6 (patch) | |
tree | 5d1dfce0a083beb2a9e57eab97d6da352c7fb9d5 | |
parent | 50f086cb684355a25f22a92c4cee76365ac4945f (diff) | |
download | libgtop-b55ecd65bc07afe4dd7d5f7090b5ee80528261e6.tar.gz |
Moved foward declaration of glibtop to break circular #includes
* glibtop.h: Moved foward declaration of glibtop to break circular
#includes dependencies.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | glibtop.h | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2004-07-03 Benoît Dejean <tazforever@dlfp.org> + + * glibtop.h: Moved foward declaration of glibtop to break circular + #includes dependencies. + 2004-06-18 Benoît Dejean <tazforever@dlfp.org> * include/glibtop/error.h: Also tries C99 __VA_ARGS__ before using @@ -24,6 +24,9 @@ #ifndef __GLIBTOP_H__ #define __GLIBTOP_H__ +typedef struct _glibtop glibtop; + + #include <glibtop/global.h> #include <glibtop_server.h> @@ -37,10 +40,10 @@ #define GLIBTOP_MOUNTENTRY_LEN 79 #endif -typedef struct _glibtop glibtop; #include <glibtop/sysdeps.h> + struct _glibtop { unsigned flags; |