summaryrefslogtreecommitdiff
path: root/pcre_ord2utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcre_ord2utf8.c')
-rw-r--r--pcre_ord2utf8.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pcre_ord2utf8.c b/pcre_ord2utf8.c
index 5ae60b8..354adc0 100644
--- a/pcre_ord2utf8.c
+++ b/pcre_ord2utf8.c
@@ -63,19 +63,19 @@ Returns: number of characters placed in the buffer
*/
int
-_pcre_ord2utf8(int cvalue, pcre_uint8 *buffer)
+PRIV(ord2utf8)(int cvalue, pcre_uint8 *buffer)
{
#ifdef SUPPORT_UTF8
register int i, j;
-for (i = 0; i < _pcre_utf8_table1_size; i++)
- if (cvalue <= _pcre_utf8_table1[i]) break;
+for (i = 0; i < PRIV(utf8_table1_size); i++)
+ if (cvalue <= PRIV(utf8_table1)[i]) break;
buffer += i;
for (j = i; j > 0; j--)
{
*buffer-- = 0x80 | (cvalue & 0x3f);
cvalue >>= 6;
}
-*buffer = _pcre_utf8_table2[i] | cvalue;
+*buffer = PRIV(utf8_table2)[i] | cvalue;
return i + 1;
#else
(void)(cvalue); /* Keep compiler happy; this function won't ever be */