[asterisk-commits] rizzo: trunk r89473 - in /trunk: agi/ main/ main/minimime/ utils/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 20 18:23:49 CST 2007


Author: rizzo
Date: Tue Nov 20 18:23:49 2007
New Revision: 89473

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89473
Log:
more header removal/normalization


Modified:
    trunk/agi/eagi-test.c
    trunk/main/minimime/mm.h
    trunk/main/sha1.c
    trunk/utils/check_expr.c
    trunk/utils/hashtest2.c
    trunk/utils/smsq.c

Modified: trunk/agi/eagi-test.c
URL: http://svn.digium.com/view/asterisk/trunk/agi/eagi-test.c?view=diff&rev=89473&r1=89472&r2=89473
==============================================================================
--- trunk/agi/eagi-test.c (original)
+++ trunk/agi/eagi-test.c Tue Nov 20 18:23:49 2007
@@ -5,16 +5,7 @@
  * 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)
 

Modified: trunk/main/minimime/mm.h
URL: http://svn.digium.com/view/asterisk/trunk/main/minimime/mm.h?view=diff&rev=89473&r1=89472&r2=89473
==============================================================================
--- trunk/main/minimime/mm.h (original)
+++ trunk/main/minimime/mm.h Tue Nov 20 18:23:49 2007
@@ -35,12 +35,9 @@
 #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

Modified: trunk/main/sha1.c
URL: http://svn.digium.com/view/asterisk/trunk/main/sha1.c?view=diff&rev=89473&r1=89472&r2=89473
==============================================================================
--- trunk/main/sha1.c (original)
+++ trunk/main/sha1.c Tue Nov 20 18:23:49 2007
@@ -60,7 +60,7 @@
  *
  */
 
-#include "asterisk/compat.h"
+#include "asterisk.h"
 #include "asterisk/sha1.h"
 
 /*! Define the SHA1 circular left shift macro */

Modified: trunk/utils/check_expr.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/check_expr.c?view=diff&rev=89473&r1=89472&r2=89473
==============================================================================
--- trunk/utils/check_expr.c (original)
+++ trunk/utils/check_expr.c Tue Nov 20 18:23:49 2007
@@ -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>
-
-struct ast_channel 
-{
-	char x; /* basically empty! */
-};
-
-#include "../include/asterisk/compat.h"
-#include "../include/asterisk/ast_expr.h"
+#include "asterisk.h"
+
+#include "asterisk/ast_expr.h"
 
 #define AST_API_MODULE 1
 #include "asterisk/inline_api.h"
@@ -145,9 +135,8 @@
 	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 @@
 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)
 {

Modified: trunk/utils/hashtest2.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/hashtest2.c?view=diff&rev=89473&r1=89472&r2=89473
==============================================================================
--- trunk/utils/hashtest2.c (original)
+++ trunk/utils/hashtest2.c Tue Nov 20 18:23:49 2007
@@ -35,9 +35,7 @@
 #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"

Modified: trunk/utils/smsq.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/smsq.c?view=diff&rev=89473&r1=89472&r2=89473
==============================================================================
--- trunk/utils/smsq.c (original)
+++ trunk/utils/smsq.c Tue Nov 20 18:23:49 2007
@@ -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




More information about the asterisk-commits mailing list