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
1 changed files with 5 additions and 9 deletions
|
@ -125,16 +125,12 @@ DBusMessage * wpas_dbus_error_invalid_args(DBusMessage *message,
|
||||||
*
|
*
|
||||||
* Convenience function to create and return a scan error
|
* Convenience function to create and return a scan error
|
||||||
*/
|
*/
|
||||||
DBusMessage * wpas_dbus_error_scan_error(DBusMessage *message,
|
static DBusMessage * wpas_dbus_error_scan_error(DBusMessage *message,
|
||||||
const char *error)
|
const char *error)
|
||||||
{
|
{
|
||||||
DBusMessage *reply;
|
return dbus_message_new_error(message,
|
||||||
|
|
||||||
reply = dbus_message_new_error(message,
|
|
||||||
WPAS_DBUS_ERROR_IFACE_SCAN_ERROR,
|
WPAS_DBUS_ERROR_IFACE_SCAN_ERROR,
|
||||||
error);
|
error);
|
||||||
|
|
||||||
return reply;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue