mirror of git://git.suckless.org/ubase
Staticise table
This commit is contained in:
parent
7afa5b8791
commit
ee5eccba1c
3
chvt.c
3
chvt.c
|
@ -12,7 +12,7 @@
|
||||||
#define VT_ACTIVATE 0x5606 /* make vt active */
|
#define VT_ACTIVATE 0x5606 /* make vt active */
|
||||||
#define VT_WAITACTIVE 0x5607 /* wait for vt active */
|
#define VT_WAITACTIVE 0x5607 /* wait for vt active */
|
||||||
|
|
||||||
char *vts[] = {
|
static char *vts[] = {
|
||||||
"/proc/self/fd/0",
|
"/proc/self/fd/0",
|
||||||
"/dev/console",
|
"/dev/console",
|
||||||
"/dev/tty",
|
"/dev/tty",
|
||||||
|
@ -55,4 +55,3 @@ VTfound:
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue