diff options
author | Martin Matuska <martin@matuska.org> | 2020-01-13 13:28:26 +0100 |
---|---|---|
committer | Martin Matuska <martin@matuska.org> | 2020-01-13 13:42:41 +0100 |
commit | bdea136855bf7d7cb42cc90c6fbe0c1b4719859d (patch) | |
tree | 3f646b47b4ae17acad6ced3ab28be7ed23ae6db3 /libarchive/archive_cryptor_private.h | |
parent | 5be1a96f75a7ffc46cba8c63a09a193152338366 (diff) | |
download | libarchive-bdea136855bf7d7cb42cc90c6fbe0c1b4719859d.tar.gz |
Unify header style, header guard comes first
Found by LGTM.com code analysis
Diffstat (limited to 'libarchive/archive_cryptor_private.h')
-rw-r--r-- | libarchive/archive_cryptor_private.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libarchive/archive_cryptor_private.h b/libarchive/archive_cryptor_private.h index 0063f3e0..64a20556 100644 --- a/libarchive/archive_cryptor_private.h +++ b/libarchive/archive_cryptor_private.h @@ -23,13 +23,12 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef __LIBARCHIVE_BUILD -#error This header is only to be used internally to libarchive. -#endif - #ifndef ARCHIVE_CRYPTOR_PRIVATE_H_INCLUDED #define ARCHIVE_CRYPTOR_PRIVATE_H_INCLUDED +#ifndef __LIBARCHIVE_BUILD +#error This header is only to be used internally to libarchive. +#endif /* * On systems that do not support any recognized crypto libraries, * the archive_cryptor.c file will normally define no usable symbols. |