diff options
author | Jim Meyering <meyering@redhat.com> | 2010-05-15 19:36:56 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-05-31 11:02:21 +0200 |
commit | c0cfa0defe06fa750530f08d6e0a54521f83292d (patch) | |
tree | 754420e230139c4b21cb87893097c616f0cf3744 /src/shred.c | |
parent | da7a704cd36e1d2015d14247e5139fb1999b2211 (diff) | |
download | coreutils-c0cfa0defe06fa750530f08d6e0a54521f83292d.tar.xz |
maint: make spacing around "=" consistent, even in IF_LINT
E.g.,
- size_t desired_width IF_LINT (= 0);
+ size_t desired_width IF_LINT ( = 0);
Use this command:
g grep -l IF_LINT | grep '\.[ch]$' \
| xargs perl -pi -e 's/(IF_LINT \()= /$1 = /'
Diffstat (limited to 'src/shred.c')
-rw-r--r-- | src/shred.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shred.c b/src/shred.c index 659ac5a80..1da197f36 100644 --- a/src/shred.c +++ b/src/shred.c @@ -365,7 +365,7 @@ dopass (int fd, char const *qname, off_t *sizep, int type, { off_t size = *sizep; off_t offset; /* Current file posiiton */ - time_t thresh IF_LINT (= 0); /* Time to maybe print next status update */ + time_t thresh IF_LINT ( = 0); /* Time to maybe print next status update */ time_t now = 0; /* Current time */ size_t lim; /* Amount of data to try writing */ size_t soff; /* Offset into buffer for next write */ @@ -388,7 +388,7 @@ dopass (int fd, char const *qname, off_t *sizep, int type, /* Printable previous offset into the file */ char previous_offset_buf[LONGEST_HUMAN_READABLE + 1]; - char const *previous_human_offset IF_LINT (= 0); + char const *previous_human_offset IF_LINT ( = 0); if (lseek (fd, 0, SEEK_SET) == -1) { |