mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
tuxtxt: remove dead code, unnecessary header includes
This commit is contained in:
@@ -10,9 +10,7 @@
|
||||
******************************************************************************/
|
||||
|
||||
#define TUXTXT_DEBUG 0
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#include <fcntl.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#include "tuxtxt_def.h"
|
||||
#include "tuxtxt_common.h"
|
||||
|
@@ -21,7 +21,6 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -32,9 +31,6 @@
|
||||
|
||||
#include <linux/fb.h>
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include "tuxtxt_def.h"
|
||||
|
||||
#include <ft2build.h>
|
||||
|
@@ -1,8 +1,6 @@
|
||||
/* tuxtxt_common.h
|
||||
* for license info see the other tuxtxt files
|
||||
*/
|
||||
#include <sys/ioctl.h>
|
||||
#include <fcntl.h>
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -1132,15 +1130,6 @@ int tuxtxt_stop_thread()
|
||||
delete dmx;
|
||||
dmx = NULL;
|
||||
}
|
||||
#if 0
|
||||
if (tuxtxt_cache.dmx != -1)
|
||||
{
|
||||
//ioctl(tuxtxt_cache.dmx, DMX_STOP);
|
||||
|
||||
// close(tuxtxt_cache.dmx);
|
||||
}
|
||||
// tuxtxt_cache.dmx = -1;
|
||||
#endif
|
||||
#if 1//TUXTXT_DEBUG
|
||||
printf("TuxTxt stopped service %x\n", tuxtxt_cache.vtxtpid);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user