forked from Imagelibrary/rtems
2007-09-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/console/polled_io.c: Change prototype so code compiles.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2007-09-07 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* shared/console/polled_io.c: Change prototype so code compiles.
|
||||||
|
|
||||||
2007-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* shared/startup/bspstart.c: Split out ShowBATS() so it can be shared
|
* shared/startup/bspstart.c: Split out ShowBATS() so it can be shared
|
||||||
|
|||||||
@@ -891,7 +891,7 @@ static int skip_atoi(const char **s)
|
|||||||
*/
|
*/
|
||||||
int k_vsprintf(char *buf, const char *fmt, va_list args);
|
int k_vsprintf(char *buf, const char *fmt, va_list args);
|
||||||
|
|
||||||
int printk(const char *fmt, ...) {
|
void printk(const char *fmt, ...) {
|
||||||
va_list args;
|
va_list args;
|
||||||
int i;
|
int i;
|
||||||
/* Should not be a problem with 8kB of stack */
|
/* Should not be a problem with 8kB of stack */
|
||||||
@@ -901,7 +901,6 @@ int printk(const char *fmt, ...) {
|
|||||||
i = k_vsprintf(buf, fmt, args);
|
i = k_vsprintf(buf, fmt, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
my_puts((u_char*)buf);
|
my_puts((u_char*)buf);
|
||||||
return i;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user