linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gustavo F. Padovan" <gustavo@padovan.org>
To: linux-bluetooth@vger.kernel.org
Cc: gustavo@padovan.org
Subject: [PATCH 2/3] Remove ifndef barrier from log.h and btio.h
Date: Sat,  5 Jun 2010 01:41:25 -0300	[thread overview]
Message-ID: <1275712886-20127-2-git-send-email-gustavo@padovan.org> (raw)
In-Reply-To: <1275712886-20127-1-git-send-email-gustavo@padovan.org>

---
 src/btio.h |    3 ---
 src/log.h  |    4 +---
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/src/btio.h b/src/btio.h
index 00d743e..fa6ff69 100644
--- a/src/btio.h
+++ b/src/btio.h
@@ -21,8 +21,6 @@
  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  *
  */
-#ifndef BT_IO_H
-#define BT_IO_H
 
 #include <glib.h>
 
@@ -93,4 +91,3 @@ GIOChannel *bt_io_listen(BtIOType type, BtIOConnect connect,
 				GDestroyNotify destroy, GError **err,
 				BtIOOption opt1, ...);
 
-#endif
diff --git a/src/log.h b/src/log.h
index 9af51e7..33168c7 100644
--- a/src/log.h
+++ b/src/log.h
@@ -21,8 +21,7 @@
  *
  */
 
-#ifndef __LOGGING_H
-#define __LOGGING_H
+extern int debug_enabled;
 
 void info(const char *format, ...) __attribute__((format(printf, 1, 2)));
 void error(const char *format, ...) __attribute__((format(printf, 1, 2)));
@@ -57,4 +56,3 @@ struct btd_debug_desc {
                                         __FILE__, __FUNCTION__ , ## arg); \
 } while (0)
 
-#endif /* __LOGGING_H */
-- 
1.7.1


  reply	other threads:[~2010-06-05  4:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-05  4:41 [PATCH 1/3] log: Remove vinfo function Gustavo F. Padovan
2010-06-05  4:41 ` Gustavo F. Padovan [this message]
2010-06-05  4:41   ` [PATCH 3/3] Fix regression with debug via SIGUSR2 Gustavo F. Padovan
2010-06-05  4:49     ` Gustavo F. Padovan
2010-06-05  4:51     ` [PATCH] " Gustavo F. Padovan
2010-06-08  6:19   ` [PATCH 2/3] Remove ifndef barrier from log.h and btio.h Johan Hedberg
2010-06-08  7:14     ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1275712886-20127-2-git-send-email-gustavo@padovan.org \
    --to=gustavo@padovan.org \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).