mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
Fix some compiler errors.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@590 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -9,6 +9,6 @@ extern int tuxtx_main(int _rc, int pid, int page = 0);
|
||||
void tuxtx_stop_subtitle();
|
||||
int tuxtx_subtitle_running(int *pid, int *page, int *running);
|
||||
void tuxtx_pause_subtitle(bool pause = 1);
|
||||
void tuxtx_set_pid(int pid, int page, char * cc);
|
||||
void tuxtx_set_pid(int pid, int page, const char * cc);
|
||||
|
||||
#endif
|
||||
|
@@ -1538,7 +1538,7 @@ void tuxtx_stop_subtitle()
|
||||
ttx_paused = 0;
|
||||
}
|
||||
|
||||
void tuxtx_set_pid(int pid, int page, char * cc)
|
||||
void tuxtx_set_pid(int pid, int page, const char * cc)
|
||||
{
|
||||
if(reader_running)
|
||||
tuxtx_stop_subtitle();
|
||||
@@ -2471,7 +2471,7 @@ skip_pid:
|
||||
/******************************************************************************
|
||||
* GetNationalSubset *
|
||||
******************************************************************************/
|
||||
int GetNationalSubset(char *cc)
|
||||
int GetNationalSubset(const char *cc)
|
||||
{
|
||||
if (memcmp(cc, "cze", 3) == 0 || memcmp(cc, "ces", 3) == 0 ||
|
||||
memcmp(cc, "slo", 3) == 0 || memcmp(cc, "slk", 3) == 0)
|
||||
|
@@ -1727,7 +1727,7 @@ void RenderPage();
|
||||
void DecodePage();
|
||||
void UpdateLCD();
|
||||
int Init();
|
||||
int GetNationalSubset(char *country_code);
|
||||
int GetNationalSubset(const char *country_code);
|
||||
int GetTeletextPIDs();
|
||||
int GetRCCode();
|
||||
int eval_triplet(int iOData, tstCachedPage *pstCachedPage,
|
||||
|
Reference in New Issue
Block a user