summaryrefslogtreecommitdiffstats
path: root/src/dom/xmlreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom/xmlreader.h')
-rw-r--r--src/dom/xmlreader.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/dom/xmlreader.h b/src/dom/xmlreader.h
index f616fd1e1..16ab883a0 100644
--- a/src/dom/xmlreader.h
+++ b/src/dom/xmlreader.h
@@ -13,7 +13,7 @@
* Authors:
* Bob Jamison
*
- * Copyright (C) 2005 Bob Jamison
+ * Copyright (C) 2005-2007 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -30,8 +30,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <glib.h>
-
#include "dom.h"
namespace org
@@ -79,9 +77,13 @@ public:
org::w3c::dom::DocumentPtr parseFile(char *fileName);
-protected:
+private:
- void error(char *format, ...) G_GNUC_PRINTF(2,3);
+ void error(char *format, ...)
+ #ifdef G_GNUC_PRINTF
+ G_GNUC_PRINTF(2, 3)
+ #endif
+ ;
int get(int ch);
int peek(int ch);