summaryrefslogtreecommitdiff
path: root/psi
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2022-03-31 09:24:51 +0100
committerChris Liddell <chris.liddell@artifex.com>2022-03-31 14:12:45 +0100
commit13320ddef4784bca1dfdb65aacbd6fa8a8cf5883 (patch)
tree41f1d1e78989392b08865bed5a1ecab30399e70b /psi
parent7bd10197c3c4f6c9ce5f57fc19f84165597fd641 (diff)
downloadghostpdl-13320ddef4784bca1dfdb65aacbd6fa8a8cf5883.tar.gz
Fix missing prototype warning in debug build
"implicit declaration of function debug_print_name"
Diffstat (limited to 'psi')
-rw-r--r--psi/idstack.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/psi/idstack.c b/psi/idstack.c
index 701cd8d01..6342c6adf 100644
--- a/psi/idstack.c
+++ b/psi/idstack.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2021 Artifex Software, Inc.
+/* Copyright (C) 2001-2022 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -24,6 +24,8 @@
#include "ipacked.h"
#include "iutil.h"
#include "ivmspace.h"
+#include "idebug.h" /* for debug_print_name */
+
/*
#include "idicttpl.h" - Do not remove this comment.
"idicttpl.h" is included below.
@@ -33,7 +35,6 @@
/* #define COLLECT_STATS_IDSTACK */
#ifdef COLLECT_STATS_IDSTACK
-#include "idebug.h"
#define MAX_STATS_DEPTH 6
struct stats_dstack_s {
long lookups; /* total lookups */