提交 88c6d626 编写于 作者: M Michael Ellerman 提交者: Benjamin Herrenschmidt

powerpc/xmon: Make xmon_getchar() static

xmon_getchar() is only called from within nonstdio.c, so make it static.
Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 08702c73
......@@ -23,7 +23,7 @@ static char line[256];
static char *lineptr;
static int lineleft;
int xmon_getchar(void)
static int xmon_getchar(void)
{
int c;
......
......@@ -4,7 +4,6 @@
#define putchar xmon_putchar
extern int xmon_putchar(int c);
extern int xmon_getchar(void);
extern void xmon_puts(const char *);
extern char *xmon_gets(char *, int);
extern void xmon_printf(const char *, ...);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册