Skip to contentSkip to conversation

env_nand: Remove DEBUG definition

PATCH Superseded Thomas Weber 3 participants 3 messages Nov 10, 2011 – Dec 5, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 env_nand: Remove DEBUG definition

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

---
 common/env_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
common/env_nand.c +1 -1
index 14446a6..e71a229 100644
@@ -30,7 +30,7 @@
  * MA 02111-1307 USA
  */
 
-#define DEBUG
+/* #define DEBUG */
 
 #include <common.h>
 #include <command.h>
Signature · 1 line
1.7.8.rc1
#1 lore raw

PATCH 1/1 env_nand: Remove DEBUG definition

common/env_nand.c line 33

Quoted 5 lines · On Thursday 10 November 2011 03:10:00 Thomas Weber wrote:
common/env_nand.c +1 -1
 
-#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

#2 lore raw

PATCH 1/1 env_nand: Remove DEBUG definition

In reply to Thomas Weber

Dear Thomas Weber,

Quoted 13 lines · In message <[email protected]> you wrote:

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

---
 common/env_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
common/env_nand.c +0 -0
index 14446a6..e71a229 100644

common/env_nand.c line 33

Quoted 5 lines
common/env_nand.c +1 -1
@@ -30,7 +30,7 @@
  * MA 02111-1307 USA
  */
 
-#define DEBUG
+/* #define DEBUG */

No - please simply delete this.

Best regards,

Wolfgang Denk

Signature · 4 lines
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