gdhcp: Remove obsolete load lease function
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Thu, 11 Oct 2012 07:11:49 +0000 (10:11 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 11 Oct 2012 13:28:12 +0000 (15:28 +0200)
gdhcp/gdhcp.h
gdhcp/server.c

index 169b81f..f011690 100644 (file)
@@ -186,8 +186,6 @@ int g_dhcp_server_set_option(GDHCPServer *server,
                unsigned char option_code, const char *option_value);
 int g_dhcp_server_set_ip_range(GDHCPServer *server,
                const char *start_ip, const char *end_ip);
-void g_dhcp_server_load_lease(GDHCPServer *dhcp_server, unsigned int expire,
-                               unsigned char *mac, unsigned int lease_ip);
 void g_dhcp_server_set_debug(GDHCPServer *server,
                                GDHCPDebugFunc func, gpointer user_data);
 void g_dhcp_server_set_lease_time(GDHCPServer *dhcp_server,
index a342985..9ac09b5 100644 (file)
@@ -860,12 +860,6 @@ void g_dhcp_server_unref(GDHCPServer *dhcp_server)
        g_free(dhcp_server);
 }
 
-void g_dhcp_server_load_lease(GDHCPServer *dhcp_server, unsigned int expire,
-                               unsigned char *mac, unsigned int lease_ip)
-{
-       add_lease(dhcp_server, expire, mac, lease_ip);
-}
-
 int g_dhcp_server_set_ip_range(GDHCPServer *dhcp_server,
                const char *start_ip, const char *end_ip)
 {