From 8f71a36f710b6196b4854760785c614910da3ff7 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 20 Apr 2004 07:09:31 +0000 Subject: Remove stray white spaces. --- tools/build/binpatch.c | 12 ++++++------ tools/build/packhex.c | 2 +- tools/build/unhex.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'tools/build') diff --git a/tools/build/binpatch.c b/tools/build/binpatch.c index 9f7e87c835..b9e2ac1a06 100644 --- a/tools/build/binpatch.c +++ b/tools/build/binpatch.c @@ -13,7 +13,7 @@ static char buf[512]; -static void +static void usage(void) { printf("usage: binpatch [-h] " @@ -40,8 +40,8 @@ main(int argc, char **argv) FILE *ofp, *ifp; char patch[4], *end; int patchLen, tmp, i, off, cnt, patched, len, reloc; - - + + /* parse command line options */ while ((c = getopt(argc, argv, "h")) >= 0) { @@ -93,7 +93,7 @@ main(int argc, char **argv) } patch[i] = tmp; } - + ifp = fopen(argv[2], "r"); if(ifp == NULL) { @@ -137,7 +137,7 @@ main(int argc, char **argv) } patched = 1; } - + fwrite(buf, 1, len, ofp); cnt += len; @@ -145,7 +145,7 @@ main(int argc, char **argv) fclose(ifp); fclose(ofp); - + if(!patched) { fprintf(stderr, "warning: offset is beyond input file length\n"); diff --git a/tools/build/packhex.c b/tools/build/packhex.c index 3b85a7c927..1e8edb615e 100644 --- a/tools/build/packhex.c +++ b/tools/build/packhex.c @@ -493,7 +493,7 @@ int main( } length = strlen(inbuff); inbuff[length - 1] = '\0'; - + } diff --git a/tools/build/unhex.c b/tools/build/unhex.c index 484a4d02d1..693049f465 100644 --- a/tools/build/unhex.c +++ b/tools/build/unhex.c @@ -111,7 +111,7 @@ void error(int errn, ...); #else #define stol(p) strtol(p, (char **) NULL, 0) #endif - + int unhex(FILE *ifp, char *inm, FILE *ofp, char *onm); int convert_Intel_records(FILE *ifp, char *inm, FILE *ofp, char *onm); int convert_S_records(FILE *ifp, char *inm, FILE *ofp, char *onm); -- cgit v1.2.3