From 649b32204bfb7386cdc5eda213721d698fea2a08 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Wed, 17 Dec 2008 19:33:47 -1000 Subject: Reduce direct D-Bus calls in isys/iface.c. The first patch in a two (possibly three) patch series that replaces some direct D-Bus code with libnm-glib calls. Much less verbose, easier to read, etc, etc. Tested this patch locally and all seems well. Calling it a day for now. [rawhide] --- isys/iface.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'isys/iface.h') diff --git a/isys/iface.h b/isys/iface.h index 497feaa40..5cd86144b 100644 --- a/isys/iface.h +++ b/isys/iface.h @@ -27,8 +27,6 @@ #include #include -#include - /* Enumerated types used in iface.c as well as loader's network code */ enum { IPUNUSED, IPV4, IPV6 }; @@ -150,7 +148,7 @@ int iface_have_in6_addr(struct in6_addr *addr6); /* * Start NetworkManager */ -int iface_start_NetworkManager(DBusConnection *connection, char **error); +int iface_start_NetworkManager(void); /* * Set Maximum Transfer Unit (MTU) on specified interface -- cgit