diff options
author | Gary E. Miller <gem@rellim.com> | 2018-09-11 19:24:25 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-09-11 19:24:25 -0700 |
commit | 9d9ba3f1a521113030ec2cd137caf5b1bf72efaf (patch) | |
tree | 5b4f13f15f26a363f5f2223d99f86cddbc008392 /libgps_dbus.c | |
parent | a7dc77f0c6730f97e5dfbaefa70bfa3730caaeff (diff) | |
download | gpsd-9d9ba3f1a521113030ec2cd137caf5b1bf72efaf.tar.gz |
libgps_dbus: Fix compiler warning of DBusHandlerResult signal_handler()
Missing, unused, 3rd parameter.
Diffstat (limited to 'libgps_dbus.c')
-rw-r--r-- | libgps_dbus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgps_dbus.c b/libgps_dbus.c index c5cffbf1..1c9327d6 100644 --- a/libgps_dbus.c +++ b/libgps_dbus.c @@ -75,7 +75,8 @@ static DBusHandlerResult handle_gps_fix(DBusMessage * message) * */ static DBusHandlerResult signal_handler(DBusConnection * connection UNUSED, - DBusMessage * message) + DBusMessage * message, + void *user_data UNUSED) { if (dbus_message_is_signal(message, "org.gpsd", "fix")) return handle_gps_fix(message); |