summaryrefslogtreecommitdiff
path: root/libarchive/archive_write_private.h
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 /libarchive/archive_write_private.h
parent5be1a96f75a7ffc46cba8c63a09a193152338366 (diff)
downloadlibarchive-bdea136855bf7d7cb42cc90c6fbe0c1b4719859d.tar.gz
Unify header style, header guard comes first
Found by LGTM.com code analysis
Diffstat (limited to 'libarchive/archive_write_private.h')
-rw-r--r--libarchive/archive_write_private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libarchive/archive_write_private.h b/libarchive/archive_write_private.h
index 1c182f13..27cba039 100644
--- a/libarchive/archive_write_private.h
+++ b/libarchive/archive_write_private.h
@@ -25,15 +25,15 @@
* $FreeBSD: head/lib/libarchive/archive_write_private.h 201155 2009-12-29 05:20:12Z kientzle $
*/
+#ifndef ARCHIVE_WRITE_PRIVATE_H_INCLUDED
+#define ARCHIVE_WRITE_PRIVATE_H_INCLUDED
+
#ifndef __LIBARCHIVE_BUILD
#ifndef __LIBARCHIVE_TEST
#error This header is only to be used internally to libarchive.
#endif
#endif
-#ifndef ARCHIVE_WRITE_PRIVATE_H_INCLUDED
-#define ARCHIVE_WRITE_PRIVATE_H_INCLUDED
-
#include "archive.h"
#include "archive_string.h"
#include "archive_private.h"