[lasem] Fix implicit declaration of function 'g_printf' which is invalid in C99 and which was noted by -Wimp
- From: J.H.M. Dassen (Ray) <jdassen src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem] Fix implicit declaration of function 'g_printf' which is invalid in C99 and which was noted by -Wimp
- Date: Mon, 31 Dec 2012 22:12:50 +0000 (UTC)
commit e80bebd15ad3843a84a72066a9a3a7511b54611d
Author: J.H.M. Dassen (Ray) <jdassen debian org>
Date: Mon Dec 31 23:10:16 2012 +0100
Fix implicit declaration of function 'g_printf'
which is invalid in C99 and which was noted by
-Wimplicit-function-declaration.
<glib/gprintf.h> has to be included separately; cf.
<http://developer.gnome.org/glib/2.31/glib-compiling.html>.
tests/lsmtest.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/lsmtest.c b/tests/lsmtest.c
index 7092aa8..f78a6f4 100644
--- a/tests/lsmtest.c
+++ b/tests/lsmtest.c
@@ -42,6 +42,7 @@
#include <lsmmathml.h>
#include <glib.h>
+#include <glib/gprintf.h>
#include <gio/gio.h>
#include <libxml/parser.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]