Revert "scanner: Include all headers when building the dumper binary"
authorColin Walters <walters@verbum.org>
Tue, 11 Jan 2011 15:46:01 +0000 (10:46 -0500)
committerColin Walters <walters@verbum.org>
Tue, 11 Jan 2011 15:46:01 +0000 (10:46 -0500)
This reverts commit bedd7dd61508684b78bd1e95fed8025d48661b48.

giscanner/dumper.py

index fcc00026451acac3577eda54ac2f33d4acb3d38b..d9c52890f02304b2337bc76d06885718b26a8eee 100644 (file)
@@ -37,8 +37,6 @@ _PROGRAM_TEMPLATE = """/* This file is generated, do not edit */
 #include <string.h>
 #include <stdlib.h>
 
-%(c_include)s
-
 %(gdump_include)s
 
 int
@@ -109,7 +107,6 @@ class DumpCompiler(object):
         gdump_file = open(gdump_path)
         gdump_contents = gdump_file.read()
         gdump_file.close()
-        tpl_args['c_include'] = "\n".join("#include <%s>" % i for i in self._options.c_includes)
         tpl_args['gdump_include'] = gdump_contents
         tpl_args['init_sections'] = "\n".join(self._options.init_sections)