summaryrefslogtreecommitdiff
path: root/pdf/pdf_function.c
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/pdf_function.c')
-rw-r--r--pdf/pdf_function.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pdf/pdf_function.c b/pdf/pdf_function.c
index 7c123476..859e0306 100644
--- a/pdf/pdf_function.c
+++ b/pdf/pdf_function.c
@@ -117,6 +117,7 @@ struct ps_stack_s
int sp;
};
+#ifndef NDEBUG
void
pdf_debug_ps_stack(ps_stack *st)
{
@@ -147,6 +148,7 @@ pdf_debug_ps_stack(ps_stack *st)
printf("\n");
}
+#endif
static void
ps_init_stack(ps_stack *st)
@@ -1495,6 +1497,7 @@ pdf_eval_function(fz_context *ctx, pdf_function *func, float *in, int inlen, flo
* Debugging prints
*/
+#ifndef NDEBUG
static void
pdf_debug_indent(char *prefix, int level, char *suffix)
{
@@ -1710,3 +1713,4 @@ pdf_debug_function(pdf_function *func)
{
pdf_debug_function_imp(func, 0);
}
+#endif