
18 Feb
2009
18 Feb
'09
7:29 p.m.
Dear Kim Phillips,
In message 20090218122152.7fbe1e25.kim.phillips@freescale.com you wrote:
...
this is my proposed fix:
In addition to the unnecessary overhead for the memory footprint there are other problems with that patch:
+#else +char NS16550_getc (NS16550_t com_port) { } +int NS16550_tstc (NS16550_t com_port) { }
If these functions are supposed to return "char" resp. "int", you will get casty compiler warnings with an empty function body.
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@denx.de
"Any excuse will serve a tyrant." - Aesop