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:
nightshad
2010-05-20 09:30:07 +00:00
parent dd0d75f738
commit 8a11f636a7
3 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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,