more header removal/normalization

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Luigi Rizzo 18 years ago
parent b4ab6b5652
commit 04e1e0069f

@ -5,17 +5,8 @@
* with no warranty of any kind * 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.h"
#include "asterisk/compat.h"
#define AUDIO_FILENO (STDERR_FILENO + 1) #define AUDIO_FILENO (STDERR_FILENO + 1)
/*! \file /*! \file

@ -35,13 +35,10 @@
#ifndef _MM_H_INCLUDED #ifndef _MM_H_INCLUDED
#define _MM_H_INCLUDED #define _MM_H_INCLUDED
#include <sys/types.h> #include "asterisk.h"
#include <assert.h>
#include "mm_queue.h" #include "mm_queue.h"
#include "mm_mem.h" #include "mm_mem.h"
#include "asterisk/compat.h"
#define MM_MIME_LINELEN 998 #define MM_MIME_LINELEN 998
#define MM_BASE64_LINELEN 76 #define MM_BASE64_LINELEN 76

@ -60,7 +60,7 @@
* *
*/ */
#include "asterisk/compat.h" #include "asterisk.h"
#include "asterisk/sha1.h" #include "asterisk/sha1.h"
/*! Define the SHA1 circular left shift macro */ /*! Define the SHA1 circular left shift macro */

@ -16,19 +16,9 @@
* at the top of the source tree. * at the top of the source tree.
*/ */
#include <stdio.h> #include "asterisk.h"
#include <stddef.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
struct ast_channel #include "asterisk/ast_expr.h"
{
char x; /* basically empty! */
};
#include "../include/asterisk/compat.h"
#include "../include/asterisk/ast_expr.h"
#define AST_API_MODULE 1 #define AST_API_MODULE 1
#include "asterisk/inline_api.h" #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); fflush(stdout);
va_end(vars); va_end(vars);
} }
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);
void ast_unregister_file_version(const char *file);
char *find_var(const char *varname); char *find_var(const char *varname);
void set_var(const char *varname, const char *varval); 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); int check_eval(char *buffer, char *error_report);
void parse_file(const char *fname); 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) void ast_unregister_file_version(const char *file)
{ {

@ -35,9 +35,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <pthread.h> #include <pthread.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <signal.h> #include <signal.h>
#include <errno.h>
#include "asterisk/compat.h"
#include "asterisk/lock.h" #include "asterisk/lock.h"
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"

@ -17,19 +17,15 @@
* at the top of the source tree. * at the top of the source tree.
*/ */
#include <stdio.h> #include "asterisk.h"
#include <popt.h> #include <popt.h>
#include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <dirent.h> #include <dirent.h>
#include <string.h>
#include <ctype.h> #include <ctype.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h> #include <time.h>
#include <asterisk/compat.h>
#ifdef SOLARIS #ifdef SOLARIS
#define POPT_ARGFLAG_SHOW_DEFAULT 0x00800000 #define POPT_ARGFLAG_SHOW_DEFAULT 0x00800000
#endif #endif

Loading…
Cancel
Save