[lasem/lasem-0-4] Fix implicit declaration of function 'g_printf' which is invalid in C99 and which was noted by -Wimp
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lasem/lasem-0-4] Fix implicit declaration of function 'g_printf' which is invalid in C99 and which was noted by -Wimp
- Date: Tue, 1 Jan 2013 10:29:29 +0000 (UTC)
commit e5d15806ae18cf3f0ced791a547edd6602e1da68
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 1a3c681..191831b 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]