diff libgaim/xmlnode.h @ 14324:2d7086454b08

[gaim-migrate @ 17019] dbus goodness committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 24 Aug 2006 18:33:53 +0000
parents 60b1bc8dbf37
children 289490ee84d1
line wrap: on
line diff
--- a/libgaim/xmlnode.h	Thu Aug 24 17:37:24 2006 +0000
+++ b/libgaim/xmlnode.h	Thu Aug 24 18:33:53 2006 +0000
@@ -38,7 +38,8 @@
 /**
  * An xmlnode.
  */
-typedef struct _xmlnode
+typedef struct _xmlnode xmlnode;
+struct _xmlnode
 {
 	char *name;			/**< The name of the node. */
 #ifdef HAVE_LIBXML
@@ -51,7 +52,7 @@
 	struct _xmlnode *child;		/**< The child node or @c NULL.*/
 	struct _xmlnode *lastchild;	/**< The last child node or @c NULL.*/
 	struct _xmlnode *next;		/**< The next node or @c NULL. */
-} xmlnode;
+};
 
 /**
  * Creates a new xmlnode.