Avoid building routines calling other not incuded in utilities link stage
[exim.git] / src / src / functions.h
index 83fad740b9f8ff92bae6c7450b1f570460ef85bb..f1e5b466e0f8dcae5a7db7d72f8d0da217fd171a 100644 (file)
@@ -966,6 +966,7 @@ g->s = s;
 }
 
 
+# ifndef COMPILE_UTILITY
 /******************************************************************************/
 /* Use store_malloc for DNSA structs, and explicit frees. Using the same pool
 for them as the strings we proceed to copy from them meant they could not be
@@ -993,7 +994,6 @@ store_free_3(dnsa, CCS func, line);
 /******************************************************************************/
 /* Routines with knowledge of spool layout */
 
-# ifndef COMPILE_UTILITY
 static inline void
 spool_pname_buf(uschar * buf, int len)
 {