aboutsummaryrefslogtreecommitdiff
path: root/binutils/windres.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-08-12 04:42:37 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-08-12 04:42:37 -0700
commit3aade68889268c7d15e121d6d63cb1b753ec12fa (patch)
tree9fe7a6ce752b4a79bbdaa9bed60c5044c2a3f80c /binutils/windres.c
parent3739860c11a9cfcdaa4d5d204ea3536784de7bb3 (diff)
downloadbinutils-3aade68889268c7d15e121d6d63cb1b753ec12fa.zip
binutils-3aade68889268c7d15e121d6d63cb1b753ec12fa.tar.gz
binutils-3aade68889268c7d15e121d6d63cb1b753ec12fa.tar.bz2
Remove trailing spaces in binutils
Diffstat (limited to 'binutils/windres.c')
-rw-r--r--binutils/windres.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/binutils/windres.c b/binutils/windres.c
index 2fed128..f5e1286 100644
--- a/binutils/windres.c
+++ b/binutils/windres.c
@@ -939,7 +939,7 @@ main (int argc, char **argv)
{
struct stat statbuf;
char modebuf[11];
-
+
if (stat (optarg, & statbuf) == 0
/* Coded this way to avoid importing knowledge of S_ISDIR into this file. */
&& (mode_string (statbuf.st_mode, modebuf), modebuf[0] == 'd'))
@@ -1116,7 +1116,7 @@ windres_open_as_binary (const char *filename, int rdmode)
if (rdmode && ! bfd_check_format (abfd, bfd_object))
fatal ("can't open `%s' for input.", filename);
-
+
return abfd;
}
@@ -1311,7 +1311,7 @@ static rc_uint_type
target_get_8 (const void *p, rc_uint_type length)
{
rc_uint_type ret;
-
+
if (length < 1)
fatal ("Resource too small for getting 8-bit value.");
@@ -1324,7 +1324,7 @@ target_get_16 (const void *p, rc_uint_type length)
{
if (length < 2)
fatal ("Resource too small for getting 16-bit value.");
-
+
if (target_is_bigendian)
return bfd_getb16 (p);
else
@@ -1336,7 +1336,7 @@ target_get_32 (const void *p, rc_uint_type length)
{
if (length < 4)
fatal ("Resource too small for getting 32-bit value.");
-
+
if (target_is_bigendian)
return bfd_getb32 (p);
else
@@ -1354,7 +1354,7 @@ static void
target_put_16 (void *p, rc_uint_type value)
{
assert (!! p);
-
+
if (target_is_bigendian)
bfd_putb16 (value, p);
else
@@ -1365,7 +1365,7 @@ static void
target_put_32 (void *p, rc_uint_type value)
{
assert (!! p);
-
+
if (target_is_bigendian)
bfd_putb32 (value, p);
else
@@ -1404,5 +1404,5 @@ int wr_print (FILE *e, const char *fmt, ...)
va_start (arg, fmt);
r += vfprintf (e, fmt, arg);
va_end (arg);
- return r;
+ return r;
}