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:
29ea6b1
)
orcc: put typedefs before prototypes
author
David Schleef
<ds@schleef.org>
Thu, 10 Jun 2010 06:03:30 +0000
(23:03 -0700)
committer
David Schleef
<ds@schleef.org>
Thu, 10 Jun 2010 06:03:30 +0000
(23:03 -0700)
tools/orcc.c
patch
|
blob
|
history
diff --git
a/tools/orcc.c
b/tools/orcc.c
index
753b7ad
..
e540004
100644
(file)
--- a/
tools/orcc.c
+++ b/
tools/orcc.c
@@
-172,11
+172,12
@@
main (int argc, char *argv[])
fprintf(output, "#include <%s>\n", include_file);
}
fprintf(output, "\n");
+ fprintf(output, "%s", orc_target_c_get_typedefs ());
+ fprintf(output, "\n");
for(i=0;i<n;i++){
output_code_header (programs[i], output);
}
fprintf(output, "\n");
- fprintf(output, "%s", orc_target_c_get_typedefs ());
fprintf(output, "%s", orc_target_get_asm_preamble ("c"));
fprintf(output, "\n");
for(i=0;i<n;i++){