projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30f1995
)
orcc: Add prototypes to c code
author
David Schleef
<ds@schleef.org>
Thu, 27 May 2010 19:14:48 +0000
(12:14 -0700)
committer
David Schleef
<ds@schleef.org>
Thu, 27 May 2010 19:14:48 +0000
(12:14 -0700)
This allows GStreamer to use -Wmissing-declarations
tools/orcc.c
patch
|
blob
|
history
diff --git
a/tools/orcc.c
b/tools/orcc.c
index
cfbc7c8
..
7f53deb
100644
(file)
--- 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++){