mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
D-Bus: Make wpas_dbus_error_scan_error() static
This function is not used anywhere outside this file. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
2544394406
commit
3cccf0b870
@ -125,16 +125,12 @@ DBusMessage * wpas_dbus_error_invalid_args(DBusMessage *message,
|
||||
*
|
||||
* Convenience function to create and return a scan error
|
||||
*/
|
||||
DBusMessage * wpas_dbus_error_scan_error(DBusMessage *message,
|
||||
const char *error)
|
||||
static DBusMessage * wpas_dbus_error_scan_error(DBusMessage *message,
|
||||
const char *error)
|
||||
{
|
||||
DBusMessage *reply;
|
||||
|
||||
reply = dbus_message_new_error(message,
|
||||
WPAS_DBUS_ERROR_IFACE_SCAN_ERROR,
|
||||
error);
|
||||
|
||||
return reply;
|
||||
return dbus_message_new_error(message,
|
||||
WPAS_DBUS_ERROR_IFACE_SCAN_ERROR,
|
||||
error);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user