libreplace: fixed declaration of dprintf() on FreeBSD (cherry picked from commit...
[samba.git] / lib / replace / replace.c
index 83966b1b1fedb4a9f8dea41f04ca086b89b15497..b8e4e46c529c0c524e32c18ee41c76e0f3a621ca 100644 (file)
@@ -705,7 +705,7 @@ void *rep_memmem(const void *haystack, size_t haystacklen,
 #endif
 
 #ifndef HAVE_VDPRINTF
-int vdprintf(int fd, const char *format, va_list ap)
+int rep_vdprintf(int fd, const char *format, va_list ap)
 {
        char *s = NULL;
        int ret;
@@ -722,7 +722,7 @@ int vdprintf(int fd, const char *format, va_list ap)
 #endif
 
 #ifndef HAVE_DPRINTF
-int dprintf(int fd, const char *format, ...)
+int rep_dprintf(int fd, const char *format, ...)
 {
        int ret;
        va_list ap;