From 53504fe694b0c9c18357fb904117a46477329b9b Mon Sep 17 00:00:00 2001 From: gardners Date: Tue, 24 Apr 2012 12:14:53 +0930 Subject: [PATCH] Fixed function prototypes for JNI compatability. --- serval.h | 1 + vomp.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/serval.h b/serval.h index 0bbf5c34..6c703c20 100644 --- a/serval.h +++ b/serval.h @@ -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); diff --git a/vomp.c b/vomp.c index 560ae433..3be81a3f 100644 --- a/vomp.c +++ b/vomp.c @@ -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,"");