diff options
Diffstat (limited to 'apps/app_read.c')
-rw-r--r-- | apps/app_read.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/app_read.c b/apps/app_read.c index d845c5900..3e22d2ef8 100644 --- a/apps/app_read.c +++ b/apps/app_read.c @@ -122,9 +122,7 @@ AST_APP_OPTIONS(read_app_options, { static char *app = "Read"; -#define ast_next_data(instr,ptr,delim) if((ptr=strchr(instr,delim))) { *(ptr) = '\0' ; ptr++;} - -static int read_exec(struct ast_channel *chan, void *data) +static int read_exec(struct ast_channel *chan, const char *data) { int res = 0; char tmp[256] = ""; |