diff options
-rw-r--r-- | include/call-volume.h | 12 | ||||
-rw-r--r-- | src/call-volume.c | 8 |
2 files changed, 8 insertions, 12 deletions
diff --git a/include/call-volume.h b/include/call-volume.h index ba2758f3..646b4b11 100644 --- a/include/call-volume.h +++ b/include/call-volume.h @@ -40,19 +40,15 @@ struct ofono_call_volume_driver { void *data); void (*remove)(struct ofono_call_volume *cv); void (*speaker_volume)(struct ofono_call_volume *cv, - unsigned char percent, - ofono_call_volume_cb_t cb, void *data); + unsigned char percent, + ofono_call_volume_cb_t cb, void *data); void (*microphone_volume)(struct ofono_call_volume *cv, - unsigned char percent, - ofono_call_volume_cb_t cb, void *data); + unsigned char percent, + ofono_call_volume_cb_t cb, void *data); }; void ofono_call_volume_notify(struct ofono_call_volume *cv, const char *property, unsigned char percent); -DBusMessage *ofono_set_call_volume(DBusMessage *msg, - struct ofono_call_volume *cv, - const char *property, - unsigned char percent); int ofono_call_volume_driver_register(const struct ofono_call_volume_driver *d); void ofono_call_volume_driver_unregister( diff --git a/src/call-volume.c b/src/call-volume.c index 9acee2b7..7a0bc9a5 100644 --- a/src/call-volume.c +++ b/src/call-volume.c @@ -157,10 +157,10 @@ static void mv_set_callback(const struct ofono_error *error, void *data) generic_callback(error, data); } -DBusMessage *ofono_set_call_volume(DBusMessage *msg, - struct ofono_call_volume *cv, - const char *property, - unsigned char percent) +static DBusMessage *ofono_set_call_volume(DBusMessage *msg, + struct ofono_call_volume *cv, + const char *property, + unsigned char percent) { if (percent > 100) return __ofono_error_invalid_format(msg); |