From 46efd28be15a7ce27b3a0594497533e67bac0d81 Mon Sep 17 00:00:00 2001 From: Elia Pinto Date: Thu, 7 Nov 2019 10:12:43 +0000 Subject: kset.h, tar.h: add missing header guard to prevent multiple inclusion Add missing headers to prevent ill-effects from multiple inclusion. Found by the LGTM source code analyzer. Signed-off-by: Elia Pinto Signed-off-by: Junio C Hamano --- tar.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tar.h') diff --git a/tar.h b/tar.h index 3467705e9b..6b258c4d4a 100644 --- a/tar.h +++ b/tar.h @@ -1,3 +1,6 @@ +#ifndef TAR_H +#define TAR_H + #define TYPEFLAG_AUTO '\0' #define TYPEFLAG_REG '0' #define TYPEFLAG_LNK '2' @@ -23,3 +26,5 @@ struct ustar_header { char devminor[8]; /* 337 */ char prefix[155]; /* 345 */ }; + +#endif /* TAR_H */ -- cgit v1.2.1