summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon/nonstdio.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2012-10-09 06:20:31 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-11-15 02:59:43 +0100
commit88c6d62641514686e0b1b0e33d9faf1e39ec7e58 (patch)
tree99eac6028b0d0c47eb78c6987e0d2ac0d2d65544 /arch/powerpc/xmon/nonstdio.c
parentpowerpc/xmon: Remove empty xmon_map_scc() (diff)
downloadlinux-88c6d62641514686e0b1b0e33d9faf1e39ec7e58.tar.xz
linux-88c6d62641514686e0b1b0e33d9faf1e39ec7e58.zip
powerpc/xmon: Make xmon_getchar() static
xmon_getchar() is only called from within nonstdio.c, so make it static. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/xmon/nonstdio.c')
-rw-r--r--arch/powerpc/xmon/nonstdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/xmon/nonstdio.c b/arch/powerpc/xmon/nonstdio.c
index a225d8046652..2209485e6564 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;