summaryrefslogtreecommitdiffstats
path: root/libc/kernel/tools/clean_header.py
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-01-09 17:50:54 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-01-09 17:50:54 -0800
commit6d6c82c7a0a6b9a89f61b61c66f9b90d9c7177dc (patch)
tree8de86895228b63728c3a134c8b1fcab003db467d /libc/kernel/tools/clean_header.py
parent4e468ed2eb86a2406e14f1eca82072ee501d05fd (diff)
downloadbionic-6d6c82c7a0a6b9a89f61b61c66f9b90d9c7177dc.zip
bionic-6d6c82c7a0a6b9a89f61b61c66f9b90d9c7177dc.tar.gz
bionic-6d6c82c7a0a6b9a89f61b61c66f9b90d9c7177dc.tar.bz2
auto import from //branches/cupcake/...@125939
Diffstat (limited to 'libc/kernel/tools/clean_header.py')
-rwxr-xr-xlibc/kernel/tools/clean_header.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/kernel/tools/clean_header.py b/libc/kernel/tools/clean_header.py
index bed9926..de4bf85 100755
--- a/libc/kernel/tools/clean_header.py
+++ b/libc/kernel/tools/clean_header.py
@@ -69,6 +69,7 @@ def cleanupFile( path ):
list.removeVarsAndFuncs( statics )
list.removeComments()
list.removeEmptyLines()
+ list.removeMacroDefines( kernel_ignored_macros )
list.insertDisclaimer( kernel.kernel_disclaimer )
out = StringOutput()