From bdea136855bf7d7cb42cc90c6fbe0c1b4719859d Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Mon, 13 Jan 2020 13:28:26 +0100 Subject: Unify header style, header guard comes first Found by LGTM.com code analysis --- cat/bsdcat.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cat') 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 -- cgit v1.2.1