# HG changeset patch
# User Markus Bröker <mbroeker@largo.dyndns.tv>
# Date 1242694739 -7200
# Node ID 66b3596f71b6c8e83b5430d16d5bd9caa335e3e3
# Parent  0bc2646daa82d2a32d83a9cb36bfc4e8fbbd280e
make cross_getch invisible

the cross_getch function will be called from the JNI Wrapper
and must not be visible to others

committer: Markus Bröker <mbroeker@largo.homelinux.org>

diff --git a/libConsole/cross_getch.c b/libConsole/cross_getch.c
--- a/libConsole/cross_getch.c
+++ b/libConsole/cross_getch.c
@@ -22,7 +22,7 @@
 #else
 #include <termios.h>
 
-int cross_getch ()
+static int cross_getch ()
 {
     int ch = -1, fd = 0;
     struct termios neu, alt;