summaryrefslogtreecommitdiff
path: root/tar
diff options
context:
space:
mode:
authorMartin Matuska <martin@matuska.org>2020-01-13 13:28:26 +0100
committerMartin Matuska <martin@matuska.org>2020-01-13 13:42:41 +0100
commitbdea136855bf7d7cb42cc90c6fbe0c1b4719859d (patch)
tree3f646b47b4ae17acad6ced3ab28be7ed23ae6db3 /tar
parent5be1a96f75a7ffc46cba8c63a09a193152338366 (diff)
downloadlibarchive-bdea136855bf7d7cb42cc90c6fbe0c1b4719859d.tar.gz
Unify header style, header guard comes first
Found by LGTM.com code analysis
Diffstat (limited to 'tar')
-rw-r--r--tar/bsdtar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tar/bsdtar.h b/tar/bsdtar.h
index c61d568f..c9206dfd 100644
--- a/tar/bsdtar.h
+++ b/tar/bsdtar.h
@@ -25,6 +25,9 @@
* $FreeBSD: src/usr.bin/tar/bsdtar.h,v 1.37 2008/12/06 07:37:14 kientzle Exp $
*/
+#ifndef BSDTAR_H_INCLUDED
+#define BSDTAR_H_INCLUDED
+
#include "bsdtar_platform.h"
#include <stdio.h>
@@ -224,3 +227,5 @@ const char * passphrase_callback(struct archive *, void *);
void passphrase_free(char *);
void list_item_verbose(struct bsdtar *, FILE *,
struct archive_entry *);
+
+#endif