summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2023-03-01 11:12:51 +0000
committerChris Liddell <chris.liddell@artifex.com>2023-03-01 15:15:18 +0000
commit3853fc8f7323f609b68907c214443e983eb514e7 (patch)
treefd2bd957c4cf33317247b7cf3017ca86c1709c33
parent0b10686f2e3b2bab0b70839bb5926e4d599ccb9c (diff)
downloadghostpdl-3853fc8f7323f609b68907c214443e983eb514e7.tar.gz
Remove C99 style inline declaration
-rw-r--r--pcl/pcl/pcsfont.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/pcl/pcl/pcsfont.c b/pcl/pcl/pcsfont.c
index 141f2863c..ed6de4ad7 100644
--- a/pcl/pcl/pcsfont.c
+++ b/pcl/pcl/pcsfont.c
@@ -422,8 +422,11 @@ pcl_font_header(pcl_args_t * pargs, pcl_state_t * pcs)
/* Create the generic font information. */
plfont = pl_alloc_font(mem, "pcl_font_header(pl_font_t)");
#ifdef DEBUG
- for (int i = 0; i < sizeof(pfh->FontName); i++)
- plfont->FontName[i] = pfh->FontName[i];
+ {
+ int i;
+ for (i = 0; i < sizeof(pfh->FontName); i++)
+ plfont->FontName[i] = pfh->FontName[i];
+ }
#endif
header = gs_alloc_bytes(mem, count, "pcl_font_header(header)");
if (plfont == NULL || header == NULL) {