nhttpd: neutrinoapi.cpp disable unused func

This commit is contained in:
Jacek Jendrzej
2015-02-24 18:05:52 +01:00
parent 839f78b9e5
commit 35c5faac67
2 changed files with 5 additions and 3 deletions

View File

@@ -227,14 +227,14 @@ t_channel_id CNeutrinoAPI::ChannelNameToChannelId(std::string search_channel_nam
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// Get functions // Get functions
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#if 0 /* unused funktion*/
bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10]) bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10])
{ {
char /* *key,*/ *tmpptr, buf[100]; char /* *key,*/ *tmpptr, buf[100];
long value; long value;
int pos = 0; int pos = 0;
memset(bitInfo, 0, sizeof(bitInfo)); memset(bitInfo, 0, 10);
FILE *fd = fopen("/proc/bus/bitstream", "rt"); FILE *fd = fopen("/proc/bus/bitstream", "rt");
@@ -261,7 +261,7 @@ bool CNeutrinoAPI::GetStreamInfo(int bitInfo[10])
return true; return true;
} }
#endif
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
bool CNeutrinoAPI::GetChannelEvents(void) bool CNeutrinoAPI::GetChannelEvents(void)

View File

@@ -53,7 +53,9 @@ class CNeutrinoAPI
// get functions to collect data // get functions to collect data
bool GetChannelEvents(void); bool GetChannelEvents(void);
#if 0 /* unused funktion*/
bool GetStreamInfo(int bitinfo[10]); bool GetStreamInfo(int bitinfo[10]);
#endif
std::string GetServiceName(t_channel_id channel_id); std::string GetServiceName(t_channel_id channel_id);
CZapitClient::BouquetChannelList *GetBouquet(unsigned int BouquetNr, int Mode); CZapitClient::BouquetChannelList *GetBouquet(unsigned int BouquetNr, int Mode);
CZapitClient::BouquetChannelList *GetChannelList(int Mode); CZapitClient::BouquetChannelList *GetChannelList(int Mode);