diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-12-17 19:33:47 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-12-18 10:18:03 -1000 |
commit | 649b32204bfb7386cdc5eda213721d698fea2a08 (patch) | |
tree | c56bd69121498c166ba40f5f63cd020aaee5a22d /isys/iface.h | |
parent | eca10a326af815cbb08b306881d559f1da28743f (diff) | |
download | anaconda-649b32204bfb7386cdc5eda213721d698fea2a08.tar.gz anaconda-649b32204bfb7386cdc5eda213721d698fea2a08.tar.xz anaconda-649b32204bfb7386cdc5eda213721d698fea2a08.zip |
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]
Diffstat (limited to 'isys/iface.h')
-rw-r--r-- | isys/iface.h | 4 |
1 files changed, 1 insertions, 3 deletions
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 <netlink/cache.h> #include <netlink/socket.h> -#include <dbus/dbus.h> - /* 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 |