aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_callerid.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-11 03:14:05 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-11 03:14:05 +0000
commit5f90b9bebddfa06f9d08b63e9c48830071480f38 (patch)
tree47f92d29e3216d69801be7bdb5d15fef7aab9a4d /funcs/func_callerid.c
parent7acc893dad48c008eaced05bfbedb0d17735bc47 (diff)
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
Diffstat (limited to 'funcs/func_callerid.c')
-rw-r--r--funcs/func_callerid.c9
1 files changed, 1 insertions, 8 deletions
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[,<optional-CID>])",
@@ -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: