OSDN Git Service

Keep the kernel header scrubber's data structures in sync.
authorElliott Hughes <enh@google.com>
Thu, 1 May 2014 17:17:27 +0000 (10:17 -0700)
committerElliott Hughes <enh@google.com>
Thu, 1 May 2014 17:27:49 +0000 (10:27 -0700)
commitfddbafdc0a63a1b4c5e9252719a913197a4eecfa
treef108fcc8076996cac4950f9e217b796bacd047dc
parent9fb53dd4dbaa7633c234d9da8417827fa3d3c32f
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
libc/kernel/tools/clean_header.py
libc/kernel/tools/cpp.py
libc/kernel/uapi/asm-generic/signal.h