aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_old.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-01-01 16:56:07 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-01 16:56:07 (GMT)
commit191204982810b21cd6459c89103b7dd452e0350d (patch)
tree848b17fe1c4c5ace0c0d30c70d70a0bff6f465a5 /wpa_supplicant/dbus/dbus_old.h
parent52bdd880a30b50d96d20f2bf0c998381bfc8f291 (diff)
downloadhostap-191204982810b21cd6459c89103b7dd452e0350d.zip
hostap-191204982810b21cd6459c89103b7dd452e0350d.tar.gz
hostap-191204982810b21cd6459c89103b7dd452e0350d.tar.bz2
dbus: Get rid of unnecessary string duplication in dbus_path
There is no point in making it so complex to initialize a string with two allocations and a function call.
Diffstat (limited to 'wpa_supplicant/dbus/dbus_old.h')
-rw-r--r--wpa_supplicant/dbus/dbus_old.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/wpa_supplicant/dbus/dbus_old.h b/wpa_supplicant/dbus/dbus_old.h
index 5aef01d..4c0b50d 100644
--- a/wpa_supplicant/dbus/dbus_old.h
+++ b/wpa_supplicant/dbus/dbus_old.h
@@ -91,8 +91,6 @@ int wpas_dbus_unregister_iface(struct wpa_supplicant *wpa_s);
/* Methods internal to the dbus control interface */
-int wpa_supplicant_set_dbus_path(struct wpa_supplicant *wpa_s,
- const char *path);
const char *wpa_supplicant_get_dbus_path(struct wpa_supplicant *wpa_s);
struct wpa_supplicant * wpa_supplicant_get_iface_by_dbus_path(
struct wpa_global *global, const char *path);