diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-04 21:20:56 +0200 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-04 21:20:56 +0200 | 
| commit | 0192a461e37cef7e2d95d576b14e0cda277fa25d (patch) | |
| tree | 7ea8a9e91bc0917616ed609e9da185822480b102 /audio/headset.c | |
| parent | 855aecc7b576a5741df3c685ccfa2b3b11cd13ce (diff) | |
Move error_not_supported where it is actually used
Diffstat (limited to 'audio/headset.c')
| -rw-r--r-- | audio/headset.c | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/audio/headset.c b/audio/headset.c index 61b1745f..1ffa7456 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -145,6 +145,13 @@ struct event {  	int (*callback) (struct audio_device *device, const char *buf);  }; +static DBusHandlerResult error_not_supported(DBusConnection *conn, +							DBusMessage *msg) +{ +	return error_common_reply(conn, msg, ERROR_INTERFACE ".NotSupported", +							"Not supported"); +} +  static int rfcomm_connect(struct audio_device *device, headset_stream_cb_t cb,  				void *user_data, unsigned int *cb_id);  static int get_records(struct audio_device *device, headset_stream_cb_t cb, | 
