diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-19 23:49:22 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-19 23:49:22 +0100 |
commit | e82e715e89dde09644b274e452f437b6fe88a254 (patch) | |
tree | b02b4a61d93ff440279275e933509aaa186faacd /target/tools/srec2bin/srec2bin.c | |
parent | 9bd580116f2f05685e5a332ed274eff14c04cee6 (diff) |
add XX_FOR_BUILD variables, they are more standard compliant and used by autotools
Diffstat (limited to 'target/tools/srec2bin/srec2bin.c')
-rw-r--r-- | target/tools/srec2bin/srec2bin.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/target/tools/srec2bin/srec2bin.c b/target/tools/srec2bin/srec2bin.c index 1cffbaed9..8ba4387e6 100644 --- a/target/tools/srec2bin/srec2bin.c +++ b/target/tools/srec2bin/srec2bin.c @@ -433,9 +433,8 @@ int srecLine(char *pSrecLine) int srec2bin(int argc,char *argv[],int verbose) { - int i,rlen,sts; + int rlen,sts; FILE *fp; - char ac; char buff[256]; bit32u TAG_BIG = 0xDEADBE42; bit32u TAG_LITTLE = 0xFEEDFA42; @@ -513,12 +512,10 @@ int srec2bin(int argc,char *argv[],int verbose) return(1); } -main(int argc, char *argv[]) +int main(int argc, char *argv[]) { - debug = TRUE; debug = FALSE; verbose = FALSE; srec2bin(argc,argv,verbose); return 0; } - |