From db0cfeadca4b8d0069cde6deb263d7ec974cdc38 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sun, 22 Feb 2009 21:39:01 +0200 Subject: Make BT_IO_OPT_INVALID 0 to allow use of the gcc sentinel feature --- common/btio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit