summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-02-22 21:39:01 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-02-22 21:39:01 +0200
commitdb0cfeadca4b8d0069cde6deb263d7ec974cdc38 (patch)
treef5f16b35e39115ad72e1a22cf6da0e4a31ba26a9 /common
parentdc4ecea559c6b325e980e770c7d24eac97bf22f1 (diff)
Make BT_IO_OPT_INVALID 0 to allow use of the gcc sentinel feature
Diffstat (limited to 'common')
-rw-r--r--common/btio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/btio.h b/common/btio.h
index a202da9d..2e50d98b 100644
--- a/common/btio.h
+++ b/common/btio.h
@@ -45,6 +45,7 @@ typedef enum {
} BtIOType;
typedef enum {
+ BT_IO_OPT_INVALID = 0,
BT_IO_OPT_SOURCE,
BT_IO_OPT_SOURCE_BDADDR,
BT_IO_OPT_DEST,
@@ -59,7 +60,6 @@ typedef enum {
BT_IO_OPT_MASTER,
BT_IO_OPT_HANDLE,
BT_IO_OPT_CLASS,
- BT_IO_OPT_INVALID,
} BtIOOption;
typedef enum {