summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-29 11:13:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:02 -0500
commitfbe7d8cbc5df572024098bfae2ad2666cd4bcc47 (patch)
tree6a756f7446ec1c448b822b2258f9c0ddef09e1f7 /source4/lib/replace/replace.h
parentf1c138390b38a15e4190b0d5024a1300941e5617 (diff)
downloadsamba-fbe7d8cbc5df572024098bfae2ad2666cd4bcc47.tar.gz
samba-fbe7d8cbc5df572024098bfae2ad2666cd4bcc47.tar.bz2
samba-fbe7d8cbc5df572024098bfae2ad2666cd4bcc47.zip
r23188: revert 23123 and 23118.
as a long term solution this was the correct approach, but it's a bit more complex and we need to provide the whole socket api and libnsl.so checking in libreplace... as a short term solution to fix the build on host 'hape' we'll use the same trick as with inet_aton.c from heimdal's lib/roken/ metze (This used to be commit 0e88e2e46199d8ea64dd42c4c8b86d64ce5c2d04)
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index a43f436083..1259400d6f 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -346,16 +346,6 @@ int rep_mkstemp(char *temp);
char *rep_mkdtemp(char *template);
#endif
-#ifndef HAVE_INET_PTON
-#define inet_pton rep_inet_pton
-int rep_inet_pton(int af, const char *src, void *dst);
-#endif
-
-#ifndef HAVE_INET_NTOP
-#define inet_ntop rep_inet_ntop
-const char *rep_inet_ntop(int af, const void *src, char *dst, size_t size);
-#endif
-
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif