diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-11-11 07:56:13 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-11-11 07:56:13 +0000 |
commit | c1008257b310d96e141d0e5c7deed9056f45d45e (patch) | |
tree | 7d986250521a6396446a85f0226964feed6fe5b7 /apps/app_skel.c | |
parent | 9ca3b9f3692b2508093d2b7943849888d6f01ce3 (diff) |
call ast_register_application properly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1720 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_skel.c')
-rwxr-xr-x | apps/app_skel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_skel.c b/apps/app_skel.c index 8ca411305..35560251b 100755 --- a/apps/app_skel.c +++ b/apps/app_skel.c @@ -20,13 +20,13 @@ #include <unistd.h> #include <string.h> #include <stdlib.h> - #include <pthread.h> - static char *tdesc = "Trivial skeleton Application"; - static char *app = "skel"; +static char *synopsis = +" This is a skeleton application that shows you the basic structure to create your\n" +"own asterisk applications.\n"; STANDARD_LOCAL_USER; @@ -54,7 +54,7 @@ int unload_module(void) int load_module(void) { - return ast_register_application(app, skel_exec); + return ast_register_application(app, skel_exec, synopsis, tdesc); } char *description(void) |