Skip to contentSkip to conversation

include/compiler.h: remove uint typedef for __MACH__

PATCH New Andreas Bießmann 2 participants 4 messages Sep 25, 2010 – Oct 8, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/compiler.h: remove uint typedef for __MACH__

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.

---
 include/compiler.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
include/compiler.h +0 -1
index 23f4b83..91dbe56 100644
@@ -47,7 +47,6 @@
 #elif defined(__MACH__)
 # include <machine/endian.h>
 typedef unsigned long ulong;
-typedef unsigned int  uint;
 #endif
 
 typedef uint8_t __u8;
Signature · 1 line
1.7.3
#1 lore raw

PATCH 1/1 include/compiler.h: remove uint typedef for __MACH__

Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,

Quoted 11 lines · In message <[email protected]>…

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.

---
 include/compiler.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 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
"There are some good people in it, but the orchestra as  a  whole  is
equivalent to a gang bent on destruction."      - John Cage, composer
#2 lore raw

PATCH 1/1 include/compiler.h: remove uint typedef for __MACH__

Dear Wolfgang Denk,

Am 06.10.2010 um 23:10 schrieb Wolfgang Denk:

Quoted 8 lines

Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,

Quoted 3 lines · In message <[email protected]>…

---
include/compiler.h | 1 -

1 files changed, 0 insertions(+), 1 deletions(-)
Quoted 5 lines

Applied, thanks.

Best regards,

Wolfgang Denk

couldn't find this patch mainline. Where did it go?

regards

Andreas Bie?mann

#3 lore raw

PATCH 1/1 include/compiler.h: remove uint typedef for __MACH__

Dear =?iso-8859-1?Q?Andreas_Bie=DFmann?=,

Quoted 11 lines · In message <[email protected]> you wrote:
Quoted 9 lines
Quoted 3 lines

include/compiler.h | 1 -

1 files changed, 0 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

couldn't find this patch mainline. Where did it go?

	commit 59336459042a5fccb2dda9cfbb592802c88f583d
	Author: Andreas Bie?mann <[email protected]>
	Date:   Sat Sep 25 17:45:59 2010 +0200

	    include/compiler.h: remove uint typedef for __MACH__

See
http://git.denx.de/?p=u-boot.git;a=commit;h=59336459042a5fccb2dda9cfbb592802c88f583d

Best regards,

Wolfgang Denk

Signature · 5 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
History is only a confused heap of facts.
                                       -- Philip Earl of Chesterfield