Moved foward declaration of glibtop to break circular #includes

* glibtop.h: Moved foward declaration of glibtop to break circular
	#includes dependencies.
This commit is contained in:
Benoît Dejean
2004-07-03 13:30:31 +00:00
parent 50f086cb68
commit b55ecd65bc
2 changed files with 9 additions and 1 deletions

View File

@@ -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

View File

@@ -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;