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 /lcms2mt | |
parent | 1883e1010c35da56bc47ad439b9e45401a3060da (diff) | |
download | ghostpdl-a0a3ac239e990a76e937710dce75f3ace1e25be7.tar.gz |
lgtm.com issue: Add some missing "repeat include" guards.
Diffstat (limited to 'lcms2mt')
-rw-r--r-- | lcms2mt/include/lcms2mt.h | 2 | ||||
-rw-r--r-- | lcms2mt/include/lcms2mt_plugin.h | 2 | ||||
-rw-r--r-- | lcms2mt/src/lcms2_internal.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lcms2mt/include/lcms2mt.h b/lcms2mt/include/lcms2mt.h index 6d5ad1aa2..aa3393eb7 100644 --- a/lcms2mt/include/lcms2mt.h +++ b/lcms2mt/include/lcms2mt.h @@ -27,6 +27,7 @@ // #ifndef _lcms2mt_H +#define _lcms2mt_H // ********** Configuration toggles **************************************** @@ -1859,5 +1860,4 @@ CMSAPI cmsBool CMSEXPORT cmsDesaturateLab(cmsContext ContextID, cmsCIEL # endif #endif -#define _lcms2mt_H #endif diff --git a/lcms2mt/include/lcms2mt_plugin.h b/lcms2mt/include/lcms2mt_plugin.h index efd05a348..405305ade 100644 --- a/lcms2mt/include/lcms2mt_plugin.h +++ b/lcms2mt/include/lcms2mt_plugin.h @@ -29,6 +29,7 @@ // are defined here. Including this file forces to include the standard API too. #ifndef _lcms2mt_plugin_H +#define _lcms2mt_plugin_H // Deal with Microsoft's attempt at deprecating C standard runtime functions #ifdef _MSC_VER @@ -657,5 +658,4 @@ CMSAPI void CMSEXPORT _cmsUnlockMutex(cmsContext ContextID, void* mtx); # endif #endif -#define _lcms2mt_plugin_H #endif diff --git a/lcms2mt/src/lcms2_internal.h b/lcms2mt/src/lcms2_internal.h index 896255921..eed76525c 100644 --- a/lcms2mt/src/lcms2_internal.h +++ b/lcms2mt/src/lcms2_internal.h @@ -25,6 +25,7 @@ // #ifndef _lcms_internal_H +#define _lcms_internal_H // Include plug-in foundation #ifndef _lcms2mt_plugin_H @@ -88,11 +89,11 @@ # define cmsINLINE static inline #endif -// Allow signed overflow, we know this is harmless in this particular context +// Allow signed overflow, we know this is harmless in this particular context #if defined(__clang__) # define CMS_NO_SANITIZE __attribute__((no_sanitize("signed-integer-overflow"))) #else -# define CMS_NO_SANITIZE +# define CMS_NO_SANITIZE #endif // Other replacement functions @@ -1119,5 +1120,4 @@ void _cmsFindFormatter(_cmsTRANSFORM* p, cmsUInt32Number InputFormat, cmsUInt32N cmsUInt32Number _cmsAdjustReferenceCount(cmsUInt32Number *rc, int delta); -#define _lcms_internal_H #endif |