summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/samba_util.h2
-rw-r--r--lib/util/system.c9
2 files changed, 0 insertions, 11 deletions
diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h
index 56dbc059d8..a0989d5479 100644
--- a/lib/util/samba_util.h
+++ b/lib/util/samba_util.h
@@ -117,8 +117,6 @@ void CatchChildLeaveStatus(void);
void *sys_memalign( size_t align, size_t size );
-_PUBLIC_ struct in_addr sys_inet_makeaddr(int net, int host);
-
/**
* Wrapper for fork used to invalid pid cache.
**/
diff --git a/lib/util/system.c b/lib/util/system.c
index 3783e3243c..8625229404 100644
--- a/lib/util/system.c
+++ b/lib/util/system.c
@@ -75,15 +75,6 @@ void *sys_memalign( size_t align, size_t size )
#endif
}
-_PUBLIC_ struct in_addr sys_inet_makeaddr(int net, int host)
-{
- struct in_addr in;
- struct in_addr in2;
- in = inet_makeaddr(net, host);
- in2.s_addr = in.s_addr;
- return in2;
-}
-
/**************************************************************************
Wrapper for fork. Ensures we clear our pid cache.
****************************************************************************/