UAPI: Strip _UAPI prefix on header install no matter the whitespace
authorDavid Howells <dhowells@redhat.com>
Wed, 2 Jan 2013 15:13:02 +0000 (15:13 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Jan 2013 01:36:10 +0000 (17:36 -0800)
commit8a7eab2b54b349d005181fd971cfa027b1976c7b
tree42ba4b4248c3907d0876097488a5c2b7de53fe92
parent3d33fcc11bdd11b6949cf5c406726a094395dc4f
UAPI: Strip _UAPI prefix on header install no matter the whitespace

Commit 56c176c9cac9 ("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: David Howells <dhowell@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/headers_install.pl