diff options
author | Elliott Hughes <enh@google.com> | 2014-05-01 10:17:27 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-05-01 10:27:49 -0700 |
commit | fddbafdc0a63a1b4c5e9252719a913197a4eecfa (patch) | |
tree | f108fcc8076996cac4950f9e217b796bacd047dc /libc/kernel/tools/clean_header.py | |
parent | 9fb53dd4dbaa7633c234d9da8417827fa3d3c32f (diff) | |
download | android_bionic-fddbafdc0a63a1b4c5e9252719a913197a4eecfa.tar.gz android_bionic-fddbafdc0a63a1b4c5e9252719a913197a4eecfa.tar.bz2 android_bionic-fddbafdc0a63a1b4c5e9252719a913197a4eecfa.zip |
Keep the kernel header scrubber's data structures in sync.
If you rewrite the tokens of a #if you need to rewrite the expression to match
because either might be used later. This was showing up as SIGRTMAX being
rewritten in a #define but not in the #ifndef that guarded it, for which case
I've added a unit test.
Change-Id: I6929675461a1afe272edd667594529fd84a3dc4d
Diffstat (limited to 'libc/kernel/tools/clean_header.py')
-rwxr-xr-x | libc/kernel/tools/clean_header.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/kernel/tools/clean_header.py b/libc/kernel/tools/clean_header.py index e825ae092..238087bbc 100755 --- a/libc/kernel/tools/clean_header.py +++ b/libc/kernel/tools/clean_header.py @@ -7,7 +7,7 @@ from utils import * noUpdate = 1 -def cleanupFile( path, original_path): +def cleanupFile(path, original_path): """reads an original header and perform the cleanup operation on it this functions returns the destination path and the clean header as a single string""" |