From bba36e2e6b57588a7886330716747da4ff1fb143 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 7 Oct 2009 12:11:23 +0000 Subject: get rid of obsolete code --- fbmngplay/console.c | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 fbmngplay/console.c (limited to 'fbmngplay/console.c') diff --git a/fbmngplay/console.c b/fbmngplay/console.c deleted file mode 100644 index 8bc7991..0000000 --- a/fbmngplay/console.c +++ /dev/null @@ -1,45 +0,0 @@ -/* - * fbmngplay - framebuffer console MNG player. - * (c) 2001-2002 by Stefan Reinauer, - * - * This program is based on mngplay, part of libmng, written and (C) by - * Ralph Giles - * - * This program my be redistributed under the terms of the - * GNU General Public Licence, version 2, or at your preference, - * any later version. - */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "console.h" - -int start_console = 0; -int fd; - -int current_console(void) -{ - int result=0; - char twelve=12; - - result = ioctl(fd, TIOCLINUX, &twelve); - - return result; -} - -void init_consoles(void) -{ - fd=open("/dev/tty0", O_RDWR|O_NDELAY); - if (fd<0) { - fprintf(stderr, "Could not open virtual terminal.\n"); - exit (1); - } -} - -- cgit v1.2.1