summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-sysdeps.h')
-rw-r--r--dbus/dbus-sysdeps.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/dbus/dbus-sysdeps.h b/dbus/dbus-sysdeps.h
index e7b3eac0..2218cfc1 100644
--- a/dbus/dbus-sysdeps.h
+++ b/dbus/dbus-sysdeps.h
@@ -41,6 +41,14 @@
DBUS_BEGIN_DECLS
+/* Forward declarations */
+
+/** An opaque string type */
+typedef struct DBusString DBusString;
+
+/** An opaque list type */
+typedef struct DBusList DBusList;
+
/**
* @addtogroup DBusSysdeps
*
@@ -56,12 +64,6 @@ DBUS_BEGIN_DECLS
* dbus-memory.c)
*/
-/** An opaque string type */
-typedef struct DBusString DBusString;
-
-/** avoid circular includes with DBusList */
-typedef struct DBusList DBusList;
-
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
#define _DBUS_GNUC_PRINTF( format_idx, arg_idx ) \
__attribute__((__format__ (__printf__, format_idx, arg_idx)))