diff --git a/src/dom/jsengine.h b/src/dom/jsengine.h
index abcbb23e91457bd29d36b3db6d00d1ac672b9731..f47a7a4c7d1fe8661db28d56d482584957ceafb2 100644 (file)
--- a/src/dom/jsengine.h
+++ b/src/dom/jsengine.h
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <glib.h>
#include "dom.h"
#include "js/jsapi.h"
/**
* Ouput a printf-formatted error message
*/
- void error(char *fmt, ...);
+ void error(char *fmt, ...) G_GNUC_PRINTF(2,3);
/**
* Ouput a printf-formatted error message
*/
- void trace(char *fmt, ...);
+ void trace(char *fmt, ...) G_GNUC_PRINTF(2,3);
JSRuntime *rt;