All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] include/compiler.h: remove uint typedef for __MACH__
@ 2010-09-25 15:45 Andreas Bießmann
  2010-10-06 21:10 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Bießmann @ 2010-09-25 15:45 UTC (permalink / raw)
  To: u-boot

uint is typedefed twice if __MACH__ is defined. This generates an error
when calling MAKEALL for netstar bord on OS X.

This patch removes the typedef for __MACH__ case in favor of general
definiton some lines below.

Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
---
 include/compiler.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/include/compiler.h b/include/compiler.h
index 23f4b83..91dbe56 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -47,7 +47,6 @@
 #elif defined(__MACH__)
 # include <machine/endian.h>
 typedef unsigned long ulong;
-typedef unsigned int  uint;
 #endif
 
 typedef uint8_t __u8;
-- 
1.7.3

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

end of thread, other threads:[~2010-10-08  8:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-25 15:45 [U-Boot] [PATCH] include/compiler.h: remove uint typedef for __MACH__ Andreas Bießmann
2010-10-06 21:10 ` Wolfgang Denk
2010-10-08  6:30   ` Andreas Bießmann
2010-10-08  8:16     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.