diff --git a/src/dom/lsimpl.h b/src/dom/lsimpl.h
index d73998e133bcea41d081862c68670085a6a6d131..b87498517d50f47c5c86eb33b9d71dbc45c9bcee 100644 (file)
--- a/src/dom/lsimpl.h
+++ b/src/dom/lsimpl.h
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <glib.h>
-
#include "domimpl.h"
#include "events.h"
#include "traversal.h"
/**
*
*/
- virtual unsigned short startElement(const ElementPtr elementArg)
+ virtual unsigned short startElement(const ElementPtr /*elementArg*/)
{ return 0; }
/**
*
*/
- virtual unsigned short acceptNode(const NodePtr nodeArg)
+ virtual unsigned short acceptNode(const NodePtr /*nodeArg*/)
{ return 0; }
/**
void spaces();
- void po(char *fmt, ...) G_GNUC_PRINTF(2,3);
+ void po(char const *fmt, ...)
+ #ifdef G_GNUC_PRINTF
+ G_GNUC_PRINTF(2, 3)
+ #endif
+ ;
void pos(const DOMString &str);
/**
*
*/
- virtual LSParser &createLSParser(unsigned short mode,
- const DOMString &schemaType)
+ virtual LSParser &createLSParser(unsigned short /*mode*/,
+ const DOMString &/*schemaType*/)
throw (dom::DOMException)
{
LSParserImpl newParser;