summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-20 07:09:31 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-20 07:09:31 +0000
commit8f71a36f710b6196b4854760785c614910da3ff7 (patch)
tree1f40fff31f74b5093d99a87f539c3b5144621579 /tools/build
parent2004-04-19 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-8f71a36f710b6196b4854760785c614910da3ff7.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'tools/build')
-rw-r--r--tools/build/binpatch.c12
-rw-r--r--tools/build/packhex.c2
-rw-r--r--tools/build/unhex.c2
3 files changed, 8 insertions, 8 deletions
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] <ofile> <ifile> <reloc> <off> <byte0> "
@@ -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);