diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2008-10-30 16:49:02 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2008-10-30 16:49:02 +0000 |
commit | 10d36d9f340dbc3756749c011ed26b1cf172c30b (patch) | |
tree | 144230cf7fe8fb0d8c7ff6c8b107f34f4cc50e60 /main/asterisk.c | |
parent | de90c84b1ae659fcfb9f4b0aeb6dc79f56d9444c (diff) |
fix a few small things found by using sparse
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/asterisk.c')
-rw-r--r-- | main/asterisk.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 7da70c232..73e27c229 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -117,6 +117,7 @@ int daemon(int, int); /* defined in libresolv of all places */ #include "asterisk/devicestate.h" #include "asterisk/module.h" #include "asterisk/dsp.h" +#include "asterisk/buildinfo.h" #include "asterisk/doxyref.h" /* Doxygen documentation */ @@ -246,13 +247,6 @@ static char ast_config_AST_CTL_OWNER[PATH_MAX] = "\0"; static char ast_config_AST_CTL_GROUP[PATH_MAX] = "\0"; static char ast_config_AST_CTL[PATH_MAX] = "asterisk.ctl"; -extern const char *ast_build_hostname; -extern const char *ast_build_kernel; -extern const char *ast_build_machine; -extern const char *ast_build_os; -extern const char *ast_build_date; -extern const char *ast_build_user; - static char *_argv[256]; static int shuttingdown; static int restartnow; |