summaryrefslogtreecommitdiff
path: root/jbig2dec
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2020-05-08 14:50:08 +0100
committerRobin Watts <Robin.Watts@artifex.com>2020-05-08 14:50:45 +0100
commita0a3ac239e990a76e937710dce75f3ace1e25be7 (patch)
tree7dbfbbfa6aeaec9c09397b7a792b9d67cd1670ef /jbig2dec
parent1883e1010c35da56bc47ad439b9e45401a3060da (diff)
downloadghostpdl-a0a3ac239e990a76e937710dce75f3ace1e25be7.tar.gz
lgtm.com issue: Add some missing "repeat include" guards.
Diffstat (limited to 'jbig2dec')
-rw-r--r--jbig2dec/jbig2.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/jbig2dec/jbig2.h b/jbig2dec/jbig2.h
index bc1c1200e..b991a1217 100644
--- a/jbig2dec/jbig2.h
+++ b/jbig2dec/jbig2.h
@@ -17,14 +17,14 @@
jbig2dec
*/
+#ifndef _JBIG2_H
+#define _JBIG2_H
+
#ifdef __cplusplus
extern "C"
{
#endif
-#ifndef _JBIG2_H
-#define _JBIG2_H
-
#define JBIG2_VERSION_MAJOR (0)
#define JBIG2_VERSION_MINOR (18)
@@ -105,8 +105,6 @@ void jbig2_release_page(Jbig2Ctx *ctx, Jbig2Image *image);
/* mark the current page as complete, simulating an end-of-page segment (for broken streams) */
int jbig2_complete_page(Jbig2Ctx *ctx);
-#endif /* _JBIG2_H */
-
/* If we don't have a definition for inline, make it nothing so the code will compile */
#ifndef inline
#define inline
@@ -115,3 +113,5 @@ int jbig2_complete_page(Jbig2Ctx *ctx);
#ifdef __cplusplus
}
#endif
+
+#endif /* _JBIG2_H */