diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2020-05-08 14:50:08 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2020-05-08 14:50:45 +0100 |
commit | a0a3ac239e990a76e937710dce75f3ace1e25be7 (patch) | |
tree | 7dbfbbfa6aeaec9c09397b7a792b9d67cd1670ef /contrib | |
parent | 1883e1010c35da56bc47ad439b9e45401a3060da (diff) | |
download | ghostpdl-a0a3ac239e990a76e937710dce75f3ace1e25be7.tar.gz |
lgtm.com issue: Add some missing "repeat include" guards.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/lips4/gdevlips.h | 5 | ||||
-rw-r--r-- | contrib/lips4/gdevlprn.h | 5 |
2 files changed, 10 insertions, 0 deletions
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 |