Fixed function prototypes for JNI compatability.

This commit is contained in:
gardners 2012-04-24 12:14:53 +09:30
parent 03004bcfdc
commit 53504fe694
2 changed files with 4 additions and 3 deletions

View File

@ -1328,3 +1328,4 @@ int app_vomp_monitor(int argc, const char *const *argv, struct command_line_opti
#ifdef HAVE_VOIPTEST
int app_pa_phone(int argc, const char *const *argv, struct command_line_option *o);
#endif
int app_vomp_dtmf(int argc, const char *const *argv, struct command_line_option *o);

6
vomp.c
View File

@ -1076,10 +1076,10 @@ char vomp_dtmf_digit_to_char(int digit)
return '?';
}
int app_vomp_dtmf(int argc, char **argv, struct command_line_option *o)
int app_vomp_dtmf(int argc, const char *const *argv, struct command_line_option *o)
{
char *call_token;
char *digits;
const char *call_token;
const char *digits;
cli_arg(argc, argv, o, "call", &call_token, NULL, "");
cli_arg(argc, argv, o, "digits", &digits,NULL,"");