summaryrefslogtreecommitdiff
path: root/cat
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 /cat
parent5be1a96f75a7ffc46cba8c63a09a193152338366 (diff)
downloadlibarchive-bdea136855bf7d7cb42cc90c6fbe0c1b4719859d.tar.gz
Unify header style, header guard comes first
Found by LGTM.com code analysis
Diffstat (limited to 'cat')
-rw-r--r--cat/bsdcat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cat/bsdcat.h b/cat/bsdcat.h
index 2e055e7c..6467d6e3 100644
--- a/cat/bsdcat.h
+++ b/cat/bsdcat.h
@@ -23,6 +23,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef BSDCAT_H_INCLUDED
+#define BSDCAT_H_INCLUDED
+
#if defined(PLATFORM_CONFIG_H)
/* Use hand-built config.h in environments that need it. */
#include PLATFORM_CONFIG_H
@@ -54,3 +57,5 @@ void usage(FILE *stream, int eval);
void bsdcat_next(void);
void bsdcat_print_error(void);
void bsdcat_read_to_stdout(const char* filename);
+
+#endif