mirror of git://git.sysmocom.de/ofono
gril: Remove unused ril_ofono_protocol_to_ril_string
This commit is contained in:
parent
234dfedbaa
commit
eb3edbb760
|
@ -44,27 +44,6 @@
|
||||||
|
|
||||||
static char temp_str[32];
|
static char temp_str[32];
|
||||||
|
|
||||||
const char *ril_ofono_protocol_to_ril_string(guint protocol)
|
|
||||||
{
|
|
||||||
char *result;
|
|
||||||
|
|
||||||
switch (protocol) {
|
|
||||||
case OFONO_GPRS_PROTO_IPV6:
|
|
||||||
result = PROTO_IPV6_STR;
|
|
||||||
break;
|
|
||||||
case OFONO_GPRS_PROTO_IPV4V6:
|
|
||||||
result = PROTO_IPV4V6_STR;
|
|
||||||
break;
|
|
||||||
case OFONO_GPRS_PROTO_IP:
|
|
||||||
result = PROTO_IP_STR;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
result = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
int ril_protocol_string_to_ofono_protocol(gchar *protocol_str)
|
int ril_protocol_string_to_ofono_protocol(gchar *protocol_str)
|
||||||
{
|
{
|
||||||
int result;
|
int result;
|
||||||
|
|
|
@ -31,7 +31,6 @@ extern "C" {
|
||||||
#include "parcel.h"
|
#include "parcel.h"
|
||||||
#include "gril.h"
|
#include "gril.h"
|
||||||
|
|
||||||
const char *ril_ofono_protocol_to_ril_string(guint protocol);
|
|
||||||
int ril_protocol_string_to_ofono_protocol(gchar *protocol_str);
|
int ril_protocol_string_to_ofono_protocol(gchar *protocol_str);
|
||||||
const char *ril_appstate_to_string(int app_state);
|
const char *ril_appstate_to_string(int app_state);
|
||||||
const char *ril_apptype_to_string(int app_type);
|
const char *ril_apptype_to_string(int app_type);
|
||||||
|
|
Loading…
Reference in New Issue