]> www.infradead.org Git - users/hch/block.git/commit
cleanup: Standardize the header guard define's name
authorIngo Molnar <mingo@kernel.org>
Sat, 25 May 2024 12:45:31 +0000 (12:45 +0000)
committerIngo Molnar <mingo@kernel.org>
Mon, 27 May 2024 10:19:55 +0000 (12:19 +0200)
commitc80c4490c280a1678e47d34d2a335a58f1318615
tree9c642cd6e158e70f6a7fdf61737aa618c992d4c7
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
cleanup: Standardize the header guard define's name

At some point during early development, the <linux/cleanup.h> header
must have been named <linux/guard.h>, as evidenced by the header
guard name:

  #ifndef __LINUX_GUARDS_H
  #define __LINUX_GUARDS_H

It ended up being <linux/cleanup.h>, but the old guard name for
a file name that was never upstream never changed.

Do that now - and while at it, also use the canonical _LINUX prefix,
instead of the less common __LINUX prefix.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/171664113181.10875.8784434350512348496.tip-bot2@tip-bot2
include/linux/cleanup.h