2007-09-07 Joel Sherrill <joel.sherrill@OARcorp.com>

* shared/console/polled_io.c: Change prototype so code compiles.
This commit is contained in:
Joel Sherrill
2007-09-07 16:15:27 +00:00
parent 050249d25d
commit e422da8d54
2 changed files with 5 additions and 2 deletions

View File

@@ -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>
* shared/startup/bspstart.c: Split out ShowBATS() so it can be shared

View File

@@ -891,7 +891,7 @@ static int skip_atoi(const char **s)
*/
int k_vsprintf(char *buf, const char *fmt, va_list args);
int printk(const char *fmt, ...) {
void printk(const char *fmt, ...) {
va_list args;
int i;
/* Should not be a problem with 8kB of stack */
@@ -901,7 +901,6 @@ int printk(const char *fmt, ...) {
i = k_vsprintf(buf, fmt, args);
va_end(args);
my_puts((u_char*)buf);
return i;
}
#endif