From b55ecd65bc07afe4dd7d5f7090b5ee80528261e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Dejean?= Date: Sat, 3 Jul 2004 13:30:31 +0000 Subject: [PATCH] Moved foward declaration of glibtop to break circular #includes * glibtop.h: Moved foward declaration of glibtop to break circular #includes dependencies. --- ChangeLog | 5 +++++ glibtop.h | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 89ac3351..4dd754d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-07-03 Benoît Dejean + + * glibtop.h: Moved foward declaration of glibtop to break circular + #includes dependencies. + 2004-06-18 Benoît Dejean * include/glibtop/error.h: Also tries C99 __VA_ARGS__ before using diff --git a/glibtop.h b/glibtop.h index 53a407d8..8113bfe9 100644 --- a/glibtop.h +++ b/glibtop.h @@ -24,6 +24,9 @@ #ifndef __GLIBTOP_H__ #define __GLIBTOP_H__ +typedef struct _glibtop glibtop; + + #include #include @@ -37,10 +40,10 @@ #define GLIBTOP_MOUNTENTRY_LEN 79 #endif -typedef struct _glibtop glibtop; #include + struct _glibtop { unsigned flags;