From patchwork Tue Oct 9 14:20:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [04/20] powerpc/xmon: Make xmon_getchar() static X-Patchwork-Submitter: Michael Ellerman X-Patchwork-Id: 190316 X-Patchwork-Delegate: benh@kernel.crashing.org Message-Id: <1349792447-15714-4-git-send-email-michael@ellerman.id.au> To: Cc: Paul Mackerras , Anton Blanchard Date: Wed, 10 Oct 2012 01:20:31 +1100 From: Michael Ellerman List-Id: Linux on PowerPC Developers Mail List xmon_getchar() is only called from within nonstdio.c, so make it static. Signed-off-by: Michael Ellerman --- arch/powerpc/xmon/nonstdio.c | 2 +- arch/powerpc/xmon/nonstdio.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/xmon/nonstdio.c b/arch/powerpc/xmon/nonstdio.c index a225d80..2209485 100644 --- a/arch/powerpc/xmon/nonstdio.c +++ b/arch/powerpc/xmon/nonstdio.c @@ -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; diff --git a/arch/powerpc/xmon/nonstdio.h b/arch/powerpc/xmon/nonstdio.h index 8799ccf..321284f 100644 --- a/arch/powerpc/xmon/nonstdio.h +++ b/arch/powerpc/xmon/nonstdio.h @@ -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 *, ...);