From 057b87d0bd4dec88f414dd0dffd0c3481d26faa4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 9 Feb 2012 12:55:10 +1100 Subject: lib/util: Remove unused sys_inet_makeaddr() Found by callcatcher. Andrew Bartlett --- lib/util/samba_util.h | 2 -- lib/util/system.c | 9 --------- 2 files changed, 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. ****************************************************************************/ -- cgit