summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2010-05-27 12:14:48 -0700
committerDavid Schleef <ds@schleef.org>2010-05-27 12:14:48 -0700
commitd0d9db4f8d8f2720dc34fab3ccbed7590160968b (patch)
treecf7dfb8a2558c3219cd515f8a3f5af80e32f0b34 /tools
parent30f1995aeb9322571271b7dbb459b8d64ab6486f (diff)
orcc: Add prototypes to c code
This allows GStreamer to use -Wmissing-declarations
Diffstat (limited to 'tools')
-rw-r--r--tools/orcc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/orcc.c b/tools/orcc.c
index cfbc7c8..7f53deb 100644
--- a/tools/orcc.c
+++ b/tools/orcc.c
@@ -173,6 +173,10 @@ main (int argc, char *argv[])
fprintf(output, "#include <%s>\n", include_file);
}
fprintf(output, "\n");
+ for(i=0;i<n;i++){
+ output_code_header (programs[i], output);
+ }
+ fprintf(output, "\n");
fprintf(output, "%s", orc_target_get_asm_preamble ("c"));
fprintf(output, "\n");
for(i=0;i<n;i++){