From dc626a7586f99e4ba4e103203bee6a595acc5449 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 20 Sep 2019 16:13:52 +0200 Subject: [PATCH] hexdump: add header file guards [lgtm scan] Signed-off-by: Karel Zak --- text-utils/hexdump.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/text-utils/hexdump.h b/text-utils/hexdump.h index 4a8d10916b..3233985d73 100644 --- a/text-utils/hexdump.h +++ b/text-utils/hexdump.h @@ -32,6 +32,9 @@ * * @(#)hexdump.h 5.4 (Berkeley) 6/1/90 */ +#ifndef UTIL_LINUX_HEXDUMP_H +#define UTIL_LINUX_HEXDUMP_H + #include "c.h" #include "list.h" @@ -106,3 +109,5 @@ void conv_c(struct hexdump_pr *, u_char *); void conv_u(struct hexdump_pr *, u_char *); int next(char **, struct hexdump *); int parse_args(int, char **, struct hexdump *); + +#endif /* UTIL_LINUX_HEXDUMP_H */ -- 2.47.3