]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hexdump: add header file guards [lgtm scan]
authorKarel Zak <kzak@redhat.com>
Fri, 20 Sep 2019 14:13:52 +0000 (16:13 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 20 Sep 2019 14:13:52 +0000 (16:13 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/hexdump.h

index 4a8d10916ba3496f9b6515f5dfc04d7ba8456135..3233985d739c1b3e82a1f1a0b66f0b715bbc3e2d 100644 (file)
@@ -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 */