Skip to content

Commit 3a4b46c

Browse files
masahir0yaxboe
authored andcommitted
block: pg: add header include guard
Add a header include guard just in case. Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 964ce50 commit 3a4b46c

File tree

1 file changed

+4
-1
lines changed
  • include/uapi/linux

1 file changed

+4
-1
lines changed

include/uapi/linux/pg.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
3636
*/
3737

38+
#ifndef _UAPI_LINUX_PG_H
39+
#define _UAPI_LINUX_PG_H
40+
3841
#define PG_MAGIC 'P'
3942
#define PG_RESET 'Z'
4043
#define PG_COMMAND 'C'
@@ -61,4 +64,4 @@ struct pg_read_hdr {
6164

6265
};
6366

64-
/* end of pg.h */
67+
#endif /* _UAPI_LINUX_PG_H */

0 commit comments

Comments
 (0)