diff options
author | Elliott Hughes <enh@google.com> | 2013-01-29 18:15:55 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-01-30 10:13:07 -0800 |
commit | c95eb57405d3d2f0e6cfab313aa74b1bad280452 (patch) | |
tree | 3732a299ef9278be919aa436f135df907502a7a2 /libc/kernel/tools/cpp.py | |
parent | f67219783fa7c38c1f4f077364290d10d3aa1db4 (diff) | |
download | android_bionic-c95eb57405d3d2f0e6cfab313aa74b1bad280452.tar.gz android_bionic-c95eb57405d3d2f0e6cfab313aa74b1bad280452.tar.bz2 android_bionic-c95eb57405d3d2f0e6cfab313aa74b1bad280452.zip |
Clean up trailing whitespace in the kernel headers.
And fix the scripts so they stop letting trailing whitespace through.
Change-Id: Ie109fbe1f63321e565ba0fa60fee8e9cf3a61cfc
Diffstat (limited to 'libc/kernel/tools/cpp.py')
-rw-r--r-- | libc/kernel/tools/cpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/kernel/tools/cpp.py b/libc/kernel/tools/cpp.py index 8e15a6784..b8aa7755b 100644 --- a/libc/kernel/tools/cpp.py +++ b/libc/kernel/tools/cpp.py @@ -1676,7 +1676,7 @@ class Block: return left_count if self.directive: - out.write(str(self) + "\n") + out.write(str(self).rstrip() + "\n") left_count -= 1 if left_count == 0: out.write(warning) @@ -1756,7 +1756,7 @@ class BlockList: for b in self.blocks: result += str(b) if b.isDirective(): - result += '\n' + result = result.rstrip() + '\n' return result def optimizeIf01(self): |