uterm: vt: move kmscon_vt_supported() to uterm-vt
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 12 Aug 2012 07:04:54 +0000 (09:04 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 12 Aug 2012 07:04:54 +0000 (09:04 +0200)
commit891400ad9140f31ff69bbe2bb85023271281bf16
tree3507223016f0338bd19363fe2aa058cb6bea5431
parent31188d4c796f403585343d5e1e84cdbfe37f852e
uterm: vt: move kmscon_vt_supported() to uterm-vt

Instead of having a global symbol, we simply move the check to uterm-vt
and can remove it from global namespace. Furthermore, we cache the result
so we can reuse it on the VT-master if required.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_vt.c
src/vt.c
src/vt.h