Include string_interpret_escape() in COMPILE_UTILITY cases.
[exim.git] / src / src / string.c
index ab5156537b38d91f2c3f8b4468040e0db94b870a..0a321ee1f761b998449fa3a7a455148f879cac8f 100644 (file)
@@ -210,7 +210,6 @@ return yield;
 
 
 
-#ifndef COMPILE_UTILITY
 /*************************************************
 *          Interpret escape sequence             *
 *************************************************/
@@ -227,6 +226,9 @@ Returns:   the value of the character escape
 int
 string_interpret_escape(uschar **pp)
 {
+#ifdef COMPILE_UTILITY
+const uschar *hex_digits= CUS"0123456789abcdef";
+#endif
 int ch;
 uschar *p = *pp;
 ch = *(++p);
@@ -262,7 +264,6 @@ else switch(ch)
 *pp = p;
 return ch;
 }
-#endif  /* COMPILE_UTILITY */
 
 
 
@@ -334,9 +335,6 @@ return ss;
 }
 #endif  /* COMPILE_UTILITY */
 
-
-
-
 /*************************************************
 *        Undo printing escapes in string         *
 *************************************************/