more header removal/normalization
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89473 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
4f4d5cb3bf
commit
0043b6cd58
|
@ -5,17 +5,8 @@
|
|||
* with no warranty of any kind
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <sys/select.h>
|
||||
|
||||
#include "asterisk.h"
|
||||
|
||||
#include "asterisk/compat.h"
|
||||
|
||||
#define AUDIO_FILENO (STDERR_FILENO + 1)
|
||||
|
||||
/*! \file
|
||||
|
|
|
@ -35,13 +35,10 @@
|
|||
#ifndef _MM_H_INCLUDED
|
||||
#define _MM_H_INCLUDED
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <assert.h>
|
||||
#include "asterisk.h"
|
||||
#include "mm_queue.h"
|
||||
#include "mm_mem.h"
|
||||
|
||||
#include "asterisk/compat.h"
|
||||
|
||||
#define MM_MIME_LINELEN 998
|
||||
#define MM_BASE64_LINELEN 76
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "asterisk/compat.h"
|
||||
#include "asterisk.h"
|
||||
#include "asterisk/sha1.h"
|
||||
|
||||
/*! Define the SHA1 circular left shift macro */
|
||||
|
|
|
@ -16,19 +16,9 @@
|
|||
* at the top of the source tree.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stddef.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "asterisk.h"
|
||||
|
||||
struct ast_channel
|
||||
{
|
||||
char x; /* basically empty! */
|
||||
};
|
||||
|
||||
#include "../include/asterisk/compat.h"
|
||||
#include "../include/asterisk/ast_expr.h"
|
||||
#include "asterisk/ast_expr.h"
|
||||
|
||||
#define AST_API_MODULE 1
|
||||
#include "asterisk/inline_api.h"
|
||||
|
@ -145,9 +135,8 @@ void ast_log(int level, const char *file, int line, const char *function, const
|
|||
fflush(stdout);
|
||||
va_end(vars);
|
||||
}
|
||||
void ast_add_profile(void);
|
||||
void ast_register_file_version(const char *file, const char *version);
|
||||
void ast_unregister_file_version(const char *file);
|
||||
//void ast_register_file_version(const char *file, const char *version);
|
||||
//void ast_unregister_file_version(const char *file);
|
||||
|
||||
char *find_var(const char *varname);
|
||||
void set_var(const char *varname, const char *varval);
|
||||
|
@ -155,13 +144,7 @@ unsigned int check_expr(char* buffer, char* error_report);
|
|||
int check_eval(char *buffer, char *error_report);
|
||||
void parse_file(const char *fname);
|
||||
|
||||
void ast_add_profile(void)
|
||||
{
|
||||
}
|
||||
|
||||
void ast_register_file_version(const char *file, const char *version)
|
||||
{
|
||||
}
|
||||
void ast_register_file_version(const char *file, const char *version) { }
|
||||
|
||||
void ast_unregister_file_version(const char *file)
|
||||
{
|
||||
|
|
|
@ -35,9 +35,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
|||
#include <pthread.h>
|
||||
#include <sys/stat.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "asterisk/compat.h"
|
||||
#include "asterisk/lock.h"
|
||||
#include "asterisk/astobj2.h"
|
||||
#include "asterisk/channel.h"
|
||||
|
|
|
@ -17,19 +17,15 @@
|
|||
* at the top of the source tree.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "asterisk.h"
|
||||
|
||||
#include <popt.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <dirent.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <asterisk/compat.h>
|
||||
#ifdef SOLARIS
|
||||
#define POPT_ARGFLAG_SHOW_DEFAULT 0x00800000
|
||||
#endif
|
||||
|
|
Reference in New Issue