summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-09 19:09:17 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-10 12:50:27 +0100
commit61fbe65e4892f020dc743155fcca04c8dfc39221 (patch)
tree31f1f3c6b11209ebf726f3f31fae325d7d9c9a00 /src
parentaa65a18e154430b385a89f0919c56964d9720912 (diff)
Switch on warnings about prototypes, and fix them
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49725 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b1db877..4522715 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -48,7 +48,7 @@ noinst_LTLIBRARIES = librakia-convenience.la
%-enumtypes.c: %.h
glib-mkenums \
- --fhead "#include <$*.h>" \
+ --fhead "#include <$*-enumtypes.h>\n#include <$*.h>" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \