mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-04-25 20:11:34 +00:00
console: Remove putstr()
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
@@ -5,6 +5,5 @@ void potato_uart_irq_en(void);
|
|||||||
void potato_uart_irq_dis(void);
|
void potato_uart_irq_dis(void);
|
||||||
int getchar(void);
|
int getchar(void);
|
||||||
int putchar(int c);
|
int putchar(int c);
|
||||||
void putstr(const char *str, unsigned long len);
|
|
||||||
int puts(const char *str);
|
int puts(const char *str);
|
||||||
size_t strlen(const char *s);
|
size_t strlen(const char *s);
|
||||||
|
|||||||
@@ -107,13 +107,6 @@ int putchar(int c)
|
|||||||
return 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)
|
int puts(const char *str)
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|||||||
Reference in New Issue
Block a user