public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] env_nand: Remove DEBUG definition
@ 2011-11-10  8:10 Thomas Weber
  2011-11-10 16:21 ` Mike Frysinger
  2011-12-05 22:03 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Weber @ 2011-11-10  8:10 UTC (permalink / raw)
  To: u-boot

When compiling with -DDEBUG enabled this caused a
warning about multiple definition of DEBUG.

Signed-off-by: Thomas Weber <weber@corscience.de>
---
 common/env_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/env_nand.c b/common/env_nand.c
index 14446a6..e71a229 100644
--- a/common/env_nand.c
+++ b/common/env_nand.c
@@ -30,7 +30,7 @@
  * MA 02111-1307 USA
  */
 
-#define DEBUG
+/* #define DEBUG */
 
 #include <common.h>
 #include <command.h>
-- 
1.7.8.rc1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] env_nand: Remove DEBUG definition
  2011-11-10  8:10 [U-Boot] [PATCH] env_nand: Remove DEBUG definition Thomas Weber
@ 2011-11-10 16:21 ` Mike Frysinger
  2011-12-05 22:03 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2011-11-10 16:21 UTC (permalink / raw)
  To: u-boot

On Thursday 10 November 2011 03:10:00 Thomas Weber wrote:
> --- a/common/env_nand.c
> +++ b/common/env_nand.c
> 
> -#define DEBUG
> +/* #define DEBUG */

just delete it and be done
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111110/b46d7ef1/attachment.pgp 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] env_nand: Remove DEBUG definition
  2011-11-10  8:10 [U-Boot] [PATCH] env_nand: Remove DEBUG definition Thomas Weber
  2011-11-10 16:21 ` Mike Frysinger
@ 2011-12-05 22:03 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2011-12-05 22:03 UTC (permalink / raw)
  To: u-boot

Dear Thomas Weber,

In message <1320912600-3170-1-git-send-email-weber@corscience.de> you wrote:
> When compiling with -DDEBUG enabled this caused a
> warning about multiple definition of DEBUG.
> 
> Signed-off-by: Thomas Weber <weber@corscience.de>
> ---
>  common/env_nand.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/common/env_nand.c b/common/env_nand.c
> index 14446a6..e71a229 100644
> --- a/common/env_nand.c
> +++ b/common/env_nand.c
> @@ -30,7 +30,7 @@
>   * MA 02111-1307 USA
>   */
>  
> -#define DEBUG
> +/* #define DEBUG */

No - please simply delete this.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You can observe a lot just by watchin'.                  - Yogi Berra

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-05 22:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-10  8:10 [U-Boot] [PATCH] env_nand: Remove DEBUG definition Thomas Weber
2011-11-10 16:21 ` Mike Frysinger
2011-12-05 22:03 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox