summaryrefslogtreecommitdiff
path: root/xps
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 /xps
parent1883e1010c35da56bc47ad439b9e45401a3060da (diff)
downloadghostpdl-a0a3ac239e990a76e937710dce75f3ace1e25be7.tar.gz
lgtm.com issue: Add some missing "repeat include" guards.
Diffstat (limited to 'xps')
-rw-r--r--xps/ghostxps.h5
-rw-r--r--xps/xpsfapi.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/xps/ghostxps.h b/xps/ghostxps.h
index e70b1def2..19ffb236f 100644
--- a/xps/ghostxps.h
+++ b/xps/ghostxps.h
@@ -14,6 +14,9 @@
*/
+#ifndef ghostxps_h_INCLUDED
+#define ghostxps_h_INCLUDED
+
/* combined internal header for the XPS interpreter */
#include "memory_.h"
@@ -457,3 +460,5 @@ int xps_fclose(gp_file *file);
#define xps_fread gp_fread
#define xps_fclose gp_fclose
#endif
+
+#endif
diff --git a/xps/xpsfapi.h b/xps/xpsfapi.h
index 7dfa884c6..3fd90d348 100644
--- a/xps/xpsfapi.h
+++ b/xps/xpsfapi.h
@@ -13,9 +13,14 @@
/* Font API support */
+#ifndef xpsfapi_h_INCLUDED
+#define xpsfapi_h_INCLUDED
+
int
xps_fapi_rebuildfont(gs_font *pfont);
int
xps_fapi_passfont(gs_font *pfont, char *fapi_request, char *file_name,
byte *font_data, int font_data_len);
+
+#endif