summaryrefslogtreecommitdiff
path: root/giscanner/scannerparser.y
diff options
context:
space:
mode:
authorTommi Komulainen <tommi.komulainen@iki.fi>2008-10-16 17:07:05 +0000
committerTommi Komulainen <tko@src.gnome.org>2008-10-16 17:07:05 +0000
commit7e1fa913da93b142b10ea3a5105f9cb58afe183e (patch)
treebd750a28eef2bdcdbbaace263aca135ffc276c64 /giscanner/scannerparser.y
parent4d71f895c229a08016b1ee02f907c792d9c18df6 (diff)
downloadgobject-introspection-7e1fa913da93b142b10ea3a5105f9cb58afe183e.tar.gz
Bug 556543 – reduce compiler warnings
2008-10-16 Tommi Komulainen <tommi.komulainen@iki.fi> Bug 556543 – reduce compiler warnings * girepository/ginfo.c: * girepository/girepository.c (register_internal, count_interfaces, find_interface, find_namespace_version, parse_version, g_irepository_require): * girepository/girmodule.c (g_ir_module_build_typelib): * girepository/girnode.c (init_stats, dump_stats, _g_irnode_init_stats, _g_irnode_dump_stats, g_ir_node_can_have_member): * girepository/girparser.c (firstpass_end_element_handler, locate_gir, parse_basic, parse_type_internal, resolve_aliases, start_alias, start_type, end_type_top, parse_include, cleanup, post_filter): * girepository/gtypelib.c (validate_function_blob, validate_enum_blob): * giscanner/giscannermodule.c (directive_get_options, type_get_child_list): * giscanner/scannerlexer.l (parse_gtkdoc): * giscanner/scannerparser.y (ctype_free): * giscanner/sourcescanner.c: * giscanner/sourcescanner.h (gi_source_scanner_parse_macros): * tests/types/gitesttypes.c: * tools/compiler.c (main): * tools/generate.c (write_repository): Remove unused variables and code, add missing includes, declarations and case statements. svn path=/trunk/; revision=730
Diffstat (limited to 'giscanner/scannerparser.y')
-rw-r--r--giscanner/scannerparser.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/scannerparser.y b/giscanner/scannerparser.y
index 69d39a5c..21151bd1 100644
--- a/giscanner/scannerparser.y
+++ b/giscanner/scannerparser.y
@@ -43,6 +43,8 @@ extern char *yytext;
extern int yylex (GISourceScanner *scanner);
static void yyerror (GISourceScanner *scanner, const char *str);
+extern void ctype_free (GISourceType * type);
+
static int last_enum_value = -1;
static GHashTable *const_table = NULL;
%}