summaryrefslogtreecommitdiff
path: root/lib/replace/replace.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@freebsd.home.tridgell.net>2010-03-24 05:06:25 +1100
committerStefan Metzmacher <metze@samba.org>2010-03-24 07:11:38 +0100
commita599319d0a389ff0c31dae8068cd7a78352aa9e7 (patch)
tree07f9ae9c8c5d121261f5e17cce8638c1f5029d70 /lib/replace/replace.c
parent83aaf4829e2b9bece5c1b4181553d3025d6d2cb3 (diff)
downloadsamba-a599319d0a389ff0c31dae8068cd7a78352aa9e7.tar.gz
samba-a599319d0a389ff0c31dae8068cd7a78352aa9e7.tar.bz2
samba-a599319d0a389ff0c31dae8068cd7a78352aa9e7.zip
libreplace: fixed declaration of dprintf() on FreeBSD
Diffstat (limited to 'lib/replace/replace.c')
-rw-r--r--lib/replace/replace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/replace/replace.c b/lib/replace/replace.c
index f2dcb10ddc..e4b97a8913 100644
--- a/lib/replace/replace.c
+++ b/lib/replace/replace.c
@@ -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;