commit ee5eccba1c078f1f450eec0ee4b955cf1bfbb823
parent 7afa5b879172a429fde5146d70079610328374dc
Author: sin <sin@2f30.org>
Date: Fri, 30 Aug 2013 00:28:17 +0100
Staticise table
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/chvt.c b/chvt.c
@@ -12,7 +12,7 @@
#define VT_ACTIVATE 0x5606 /* make vt active */
#define VT_WAITACTIVE 0x5607 /* wait for vt active */
-char *vts[] = {
+static char *vts[] = {
"/proc/self/fd/0",
"/dev/console",
"/dev/tty",
@@ -55,4 +55,3 @@ VTfound:
return 0;
}
-