From a0a3ac239e990a76e937710dce75f3ace1e25be7 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 8 May 2020 14:50:08 +0100 Subject: lgtm.com issue: Add some missing "repeat include" guards. --- contrib/lips4/gdevlips.h | 5 +++++ contrib/lips4/gdevlprn.h | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'contrib') diff --git a/contrib/lips4/gdevlips.h b/contrib/lips4/gdevlips.h index 1e3dd72cd..268199986 100644 --- a/contrib/lips4/gdevlips.h +++ b/contrib/lips4/gdevlips.h @@ -21,6 +21,9 @@ /*$Id: gdevlips.h,v 1.4 2002/10/12 23:24:34 tillkamppeter Exp $ */ /* Common header file for LIPS driver */ +#ifndef gdevlips_h_INCLUDED +#define gdevlips_h_INCLUDED + #define LIPS_ESC 0x1b #define LIPS_FF 0x0c #define LIPS_CSI 0x9b /* LIPS_ESC "[" */ @@ -195,3 +198,5 @@ int lips_media_selection(int width, int height); int lips_packbits_encode(byte * inBuff, byte * outBuff, int Length); int lips_mode3format_encode(byte * inBuff, byte * outBuff, int Length); int lips_rle_encode(byte * inBuff, byte * outBuff, int Length); + +#endif diff --git a/contrib/lips4/gdevlprn.h b/contrib/lips4/gdevlprn.h index 248911cfb..6b9245a70 100644 --- a/contrib/lips4/gdevlprn.h +++ b/contrib/lips4/gdevlprn.h @@ -20,6 +20,9 @@ /*$Id: gdevlprn.h,v 1.4 2002/10/12 23:24:34 tillkamppeter Exp $ */ /* Library for Laser Printer Driver */ +#ifndef gdevlprn_h_INCLUDED +#define gdevlprn_h_INCLUDED + /* Main part of this library was taked from Hiroshi Narimatsu's Ghostscript driver, epag-3.08. @@ -143,3 +146,5 @@ dev_proc_get_params(lprn_get_params); dev_proc_put_params(lprn_put_params); int lprn_print_image(gx_device_printer * pdev, gp_file * fp); + +#endif -- cgit v1.2.1