diff options
author | Dan Williams <dcbw@redhat.com> | 2007-04-05 19:41:09 +0000 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2007-04-05 19:41:09 +0000 |
commit | 5f91fff8b62ca00a5e74b022eef754bec4b9ae24 (patch) | |
tree | 16587d996573987060bd16d0c0e39a560bde1f56 | |
parent | 1e167cb23e5588b517dd819b259e51d9022022e6 (diff) | |
download | NetworkManager-5f91fff8b62ca00a5e74b022eef754bec4b9ae24.tar.gz |
More compile cleanups
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/branches/nm-0-6-olpc@2540 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
-rw-r--r-- | src/nm-device-802-11-mesh-olpc.c | 3 | ||||
-rw-r--r-- | src/nm-device.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/nm-device-802-11-mesh-olpc.c b/src/nm-device-802-11-mesh-olpc.c index 5003cce4bc..2021a1a102 100644 --- a/src/nm-device-802-11-mesh-olpc.c +++ b/src/nm-device-802-11-mesh-olpc.c @@ -27,6 +27,7 @@ #include <sys/types.h> #include <sys/socket.h> #include <signal.h> +#include <arpa/inet.h> #include "nm-device.h" #include "nm-device-802-11-mesh-olpc.h" @@ -1006,7 +1007,7 @@ mesh_search_get_fwt (NMDevice80211MeshOLPC * self, GSList ** list) while (num < 500) { char buf[200]; struct iwreq wrq; - int err, len, i = 0, nonzero = 0; + int err, len, i = 0; char * item; memset (buf, 0, sizeof (buf)); diff --git a/src/nm-device.h b/src/nm-device.h index df114ccc11..b34da7064b 100644 --- a/src/nm-device.h +++ b/src/nm-device.h @@ -215,6 +215,9 @@ gboolean nm_device_can_interrupt_activation (NMDevice *self); const char * nm_device_get_physical_device_udi (NMDevice *dev); +void nm_device_notify_device_added (NMDevice *self, NMDevice *added_dev); +void nm_device_notify_device_removed (NMDevice *self, NMDevice *removed_dev); + G_END_DECLS #endif /* NM_DEVICE_H */ |