summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-05-15 12:50:13 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-05-15 12:50:13 +0000
commit6023817d9880a2d71516416b010555f041ec187d (patch)
tree3a5d2cf665651d5719300baab19a856d41593d03
parent2f9928fa78e9b4c767a5f584d068fb44b43856cd (diff)
Remove unused functions and defines from the header file
-rw-r--r--audio/headset.c2
-rw-r--r--audio/headset.h6
2 files changed, 2 insertions, 6 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 72fc3bfb..edd59b4b 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -59,6 +59,8 @@
#define RING_INTERVAL 3000
+#define BUF_SIZE 1024
+
typedef enum {
HEADSET_EVENT_KEYPRESS,
HEADSET_EVENT_GAIN,
diff --git a/audio/headset.h b/audio/headset.h
index de8e8a38..b06f1c60 100644
--- a/audio/headset.h
+++ b/audio/headset.h
@@ -29,14 +29,8 @@
#define AUDIO_HEADSET_INTERFACE "org.bluez.audio.Headset"
-#define BUF_SIZE 1024
-
typedef struct headset headset_t;
-const char *headset_get(const bdaddr_t *bda);
-
-const char *headset_add(const bdaddr_t *bda);
-
headset_t *headset_init(const char *path);
int headset_server_init(DBusConnection *conn);