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