Return-Path: From: Zhenhua Zhang To: linux-bluetooth@vger.kernel.org Subject: [PATCH V2 1/2] btio: Add ifndef/endif guard for btio.h Date: Mon, 13 Sep 2010 16:17:30 +0800 Message-Id: <1284365851-8066-2-git-send-email-zhenhua.zhang@intel.com> In-Reply-To: <1284365851-8066-1-git-send-email-zhenhua.zhang@intel.com> References: <1284365851-8066-1-git-send-email-zhenhua.zhang@intel.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: To avoid circular inclusion of include file. --- src/btio.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/btio.h b/src/btio.h index 81fda8e..d373ed1 100644 --- a/src/btio.h +++ b/src/btio.h @@ -21,6 +21,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * */ +#ifndef BT_IO_H +#define BT_IO_H #include @@ -92,3 +94,4 @@ GIOChannel *bt_io_listen(BtIOType type, BtIOConnect connect, GDestroyNotify destroy, GError **err, BtIOOption opt1, ...); +#endif -- 1.7.0.4