forked from Imagelibrary/rtems
2010-05-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/consolelite.c, network/xiltemac.c: Reflect prototypes having changed (Warning removal).
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2010-05-23 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* console/consolelite.c, network/xiltemac.c:
|
||||
Reflect prototypes having changed (Warning removal).
|
||||
|
||||
2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* network/xiltemac.c, startup/bspstart.c: Remove warnings.
|
||||
|
||||
@@ -180,10 +180,10 @@ int xlite_read_polled (int minor )
|
||||
|
||||
|
||||
|
||||
int xlite_write_buffer_polled(
|
||||
ssize_t xlite_write_buffer_polled(
|
||||
int minor,
|
||||
const char *buf,
|
||||
int len
|
||||
size_t len
|
||||
)
|
||||
{
|
||||
uint32_t base = Console_Port_Tbl[minor].ulCtrlPort1;
|
||||
@@ -356,9 +356,9 @@ void outputChar(char ch)
|
||||
xlite_write_char_polled( 0, ch );
|
||||
}
|
||||
|
||||
char inputChar(void)
|
||||
int inputChar(void)
|
||||
{
|
||||
return (char)xlite_read_polled(0);
|
||||
return xlite_read_polled(0);
|
||||
}
|
||||
|
||||
BSP_output_char_function_type BSP_output_char = outputChar;
|
||||
|
||||
@@ -908,7 +908,7 @@ int32_t xilTemac_driver_attach(struct rtems_bsdnet_ifconfig* aBsdConfig, int aDu
|
||||
|
||||
xilTemac->iIsPresent = 1;
|
||||
|
||||
snprintf( xilTemac->iUnitName, MAX_UNIT_BYTES, "%s%d", unitName, unit );
|
||||
snprintf( xilTemac->iUnitName, MAX_UNIT_BYTES, "%s%" PRId32, unitName, unit );
|
||||
|
||||
xilTemac->iIfp = &(xilTemac->iArpcom.ac_if);
|
||||
ifp = &(xilTemac->iArpcom.ac_if);
|
||||
|
||||
Reference in New Issue
Block a user