From 5f90b9bebddfa06f9d08b63e9c48830071480f38 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Sat, 11 Feb 2006 03:14:05 +0000 Subject: build function modules independently (no more pbx_functions.so) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9469 f38db490-d61c-443f-a65b-d21fe96a405b --- funcs/func_callerid.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'funcs/func_callerid.c') diff --git a/funcs/func_callerid.c b/funcs/func_callerid.c index fdaaf632d..c907d96a9 100644 --- a/funcs/func_callerid.c +++ b/funcs/func_callerid.c @@ -29,9 +29,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") -#ifndef BUILTIN_FUNC #include "asterisk/module.h" -#endif /* BUILTIN_FUNC */ #include "asterisk/channel.h" #include "asterisk/pbx.h" #include "asterisk/logger.h" @@ -120,10 +118,7 @@ static void callerid_write(struct ast_channel *chan, char *cmd, char *data, cons } } -#ifndef BUILTIN_FUNC -static -#endif /* BUILTIN_FUNC */ -struct ast_custom_function callerid_function = { +static struct ast_custom_function callerid_function = { .name = "CALLERID", .synopsis = "Gets or sets Caller*ID data on the channel.", .syntax = "CALLERID(datatype[,])", @@ -134,7 +129,6 @@ struct ast_custom_function callerid_function = { .write = callerid_write, }; -#ifndef BUILTIN_FUNC static char *tdesc = "Caller ID related dialplan function"; int unload_module(void) @@ -161,7 +155,6 @@ char *key() { return ASTERISK_GPL_KEY; } -#endif /* BUILTIN_FUNC */ /* Local Variables: -- cgit v1.2.3