diff --git a/include/console.h b/include/console.h index a16db9a..cfd9dc1 100644 --- a/include/console.h +++ b/include/console.h @@ -5,6 +5,5 @@ void potato_uart_irq_en(void); void potato_uart_irq_dis(void); int getchar(void); int putchar(int c); -void putstr(const char *str, unsigned long len); int puts(const char *str); size_t strlen(const char *s); diff --git a/lib/console.c b/lib/console.c index 66a7d3a..fa2ade3 100644 --- a/lib/console.c +++ b/lib/console.c @@ -107,13 +107,6 @@ int putchar(int c) return c; } -void putstr(const char *str, unsigned long len) -{ - for (unsigned long i = 0; i < len; i++) { - putchar(str[i]); - } -} - int puts(const char *str) { unsigned int i;