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
This commit is contained in:
@@ -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"""
|
||||
|
Reference in New Issue
Block a user