Skip to content

Commit

Permalink
block: pg: add header include guard
Browse files Browse the repository at this point in the history
Add a header include guard just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Masahiro Yamada authored and Jens Axboe committed Oct 3, 2019
1 parent 964ce50 commit 3a4b46c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/uapi/linux/pg.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
*/

#ifndef _UAPI_LINUX_PG_H
#define _UAPI_LINUX_PG_H

#define PG_MAGIC 'P'
#define PG_RESET 'Z'
#define PG_COMMAND 'C'
Expand All @@ -61,4 +64,4 @@ struct pg_read_hdr {

};

/* end of pg.h */
#endif /* _UAPI_LINUX_PG_H */

0 comments on commit 3a4b46c

Please sign in to comment.