- reverted _putchar() and _getChar(). Need later fix

git-svn-id: http://moon:8086/svn/mips@70 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2017-01-10 20:35:00 +00:00
parent ec94a5f8fe
commit 0a6546c6c4
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -95,7 +95,7 @@ void _putchar(int fd, char c)
}
char _getchar(int fd)
char _getchar()
{
return readchar(fd);
return readchar(0);
}
+2 -2
View File
@@ -51,8 +51,8 @@ con_if_entry_t const* con_getPort(int file);
int readchar(int file);
void writechar(int file, char c);
char _getchar(int fd);
void _putchar(int fd, char c);
char _getchar();
void _putchar(int file, char c);
#ifdef __cplusplus
}