Skip to content
Commit 8a7eab2b authored by David Howells's avatar David Howells Committed by Linus Torvalds
Browse files

UAPI: Strip _UAPI prefix on header install no matter the whitespace

Commit 56c176c9

 ("UAPI: strip the _UAPI prefix from header guards
during header installation") strips the _UAPI prefix from header guards,
but only if there's a single space between the cpp directive and the
label.

Make it more flexible and able to handle tabs and multiple white space
characters.

Signed-off-by: default avatarDavid Howells <dhowell@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3d33fcc1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment