diff options
Diffstat (limited to 'cdr')
-rwxr-xr-x | cdr/cdr_csv.c | 15 | ||||
-rwxr-xr-x | cdr/cdr_custom.c | 15 |
2 files changed, 14 insertions, 16 deletions
diff --git a/cdr/cdr_csv.c b/cdr/cdr_csv.c index 63beb3dcb..457759053 100755 --- a/cdr/cdr_csv.c +++ b/cdr/cdr_csv.c @@ -27,6 +27,13 @@ */ #include <sys/types.h> +#include <stdio.h> +#include <string.h> +#include <errno.h> + +#include <stdlib.h> +#include <unistd.h> +#include <time.h> #include "asterisk.h" @@ -46,14 +53,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") /* #define CSV_LOGUNIQUEID 1 */ /* #define CSV_LOGUSERFIELD 1 */ -#include <stdio.h> -#include <string.h> -#include <errno.h> - -#include <stdlib.h> -#include <unistd.h> -#include <time.h> - /*---------------------------------------------------- The values are as follows: diff --git a/cdr/cdr_custom.c b/cdr/cdr_custom.c index 0658c8e44..64fddb368 100755 --- a/cdr/cdr_custom.c +++ b/cdr/cdr_custom.c @@ -29,6 +29,13 @@ */ #include <sys/types.h> +#include <stdio.h> +#include <string.h> +#include <errno.h> + +#include <stdlib.h> +#include <unistd.h> +#include <time.h> #include "asterisk.h" @@ -46,14 +53,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #define DATE_FORMAT "%Y-%m-%d %T" -#include <stdio.h> -#include <string.h> -#include <errno.h> - -#include <stdlib.h> -#include <unistd.h> -#include <time.h> - AST_MUTEX_DEFINE_STATIC(lock); static char *desc = "Customizable Comma Separated Values CDR Backend"; |