[asterisk-commits] russell: branch group/asterisk-cpp r168383 - /team/group/asterisk-cpp/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jan 10 14:47:56 CST 2009


Author: russell
Date: Sat Jan 10 14:47:56 2009
New Revision: 168383

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168383
Log:
fix errors up to AST_CLI_DEFINE usage

Modified:
    team/group/asterisk-cpp/main/asterisk.c

Modified: team/group/asterisk-cpp/main/asterisk.c
URL: http://svn.digium.com/svn-view/asterisk/team/group/asterisk-cpp/main/asterisk.c?view=diff&rev=168383&r1=168382&r2=168383
==============================================================================
--- team/group/asterisk-cpp/main/asterisk.c (original)
+++ team/group/asterisk-cpp/main/asterisk.c Sat Jan 10 14:47:56 2009
@@ -952,7 +952,7 @@
 /*! \brief Keep track of how many threads are currently trying to wait*() on
  *  a child process */
 static unsigned int safe_system_level = 0;
-static void *safe_system_prev_handler;
+static void (*safe_system_prev_handler)(int);
 
 void ast_replace_sigchld(void)
 {
@@ -1163,7 +1163,7 @@
 
 static void *netconsole(void *vconsole)
 {
-	struct console *con = vconsole;
+	struct console *con = (struct console *) vconsole;
 	char hostname[MAXHOSTNAMELEN] = "";
 	char tmp[512];
 	int res;
@@ -1639,7 +1639,7 @@
 	sig_flags.need_quit = 1;
 }
 
-static const char *fix_header(char *outbuf, int maxout, const char *s, char *cmp)
+static const char *fix_header(char *outbuf, int maxout, const char *s, const char *cmp)
 {
 	const char *c;
 




More information about the asterisk-commits mailing list