summaryrefslogtreecommitdiff
path: root/pcre_maketables.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcre_maketables.c')
-rw-r--r--pcre_maketables.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcre_maketables.c b/pcre_maketables.c
index 9f8ce31..1ae6408 100644
--- a/pcre_maketables.c
+++ b/pcre_maketables.c
@@ -59,8 +59,8 @@ compilation of dftables.c, in which case the macro DFTABLES is defined. */
/* This function builds a set of character tables for use by PCRE and returns
a pointer to them. They are build using the ctype functions, and consequently
their contents will depend upon the current locale setting. When compiled as
-part of the library, the store is obtained via pcre_malloc(), but when compiled
-inside dftables, use malloc().
+part of the library, the store is obtained via PUBL(malloc)(), but when
+compiled inside dftables, use malloc().
Arguments: none
Returns: pointer to the contiguous block of data
@@ -78,7 +78,7 @@ unsigned char *yield, *p;
int i;
#ifndef DFTABLES
-yield = (unsigned char*)(pcre_malloc)(tables_length);
+yield = (unsigned char*)(PUBL(malloc))(tables_length);
#else
yield = (unsigned char*)malloc(tables_length);
#endif