diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-07 18:54:56 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-07 18:54:56 +0000 |
commit | 73c525e6e2dbcf452c2e78e44a63678f2b2068ea (patch) | |
tree | f9408ad7864dc1683b929f25a692213b22442992 /asterisk.c | |
parent | 3cd1c6869dcb5f1d85a602c7b53a33437ceb0d32 (diff) |
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'asterisk.c')
-rw-r--r-- | asterisk.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/asterisk.c b/asterisk.c index ad92a5c0f..9f01e342c 100644 --- a/asterisk.c +++ b/asterisk.c @@ -57,6 +57,10 @@ */ +#include "asterisk.h" + +ASTERISK_FILE_VERSION(__FILE__, "$Revision$") + #include <unistd.h> #include <stdlib.h> #include <sys/time.h> @@ -86,14 +90,10 @@ #if defined(__FreeBSD__) || defined( __NetBSD__ ) || defined(SOLARIS) #include <netdb.h> #if defined(SOLARIS) -extern int daemon(int, int); /* defined in libresolv of all places */ +int daemon(int, int); /* defined in libresolv of all places */ #endif #endif -#include "asterisk.h" - -ASTERISK_FILE_VERSION(__FILE__, "$Revision$") - #include "asterisk/logger.h" #include "asterisk/options.h" #include "asterisk/cli.h" @@ -122,7 +122,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/version.h" #include "asterisk/linkedlists.h" #include "asterisk/devicestate.h" -#include "asterisk/compat.h" #include "asterisk/doxyref.h" /* Doxygen documentation */ |