[svn-commits] tilghman: trunk r134703 - in /trunk: include/asterisk/sched.h main/sched.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jul 30 17:38:59 CDT 2008


Author: tilghman
Date: Wed Jul 30 17:38:58 2008
New Revision: 134703

URL: http://svn.digium.com/view/asterisk?view=rev&rev=134703
Log:
Oops, wrong define

Modified:
    trunk/include/asterisk/sched.h
    trunk/main/sched.c

Modified: trunk/include/asterisk/sched.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/sched.h?view=diff&rev=134703&r1=134702&r2=134703
==============================================================================
--- trunk/include/asterisk/sched.h (original)
+++ trunk/include/asterisk/sched.h Wed Jul 30 17:38:58 2008
@@ -210,7 +210,7 @@
  * \param id ID of the scheduled item to delete
  * \return Returns 0 on success, -1 on failure
  */
-#ifndef DEVMODE
+#ifndef AST_DEVMODE
 int ast_sched_del(struct sched_context *con, int id) attribute_warn_unused_result;
 #else
 int _ast_sched_del(struct sched_context *con, int id, const char *file, int line, const char *function) attribute_warn_unused_result;

Modified: trunk/main/sched.c
URL: http://svn.digium.com/view/asterisk/trunk/main/sched.c?view=diff&rev=134703&r1=134702&r2=134703
==============================================================================
--- trunk/main/sched.c (original)
+++ trunk/main/sched.c Wed Jul 30 17:38:58 2008
@@ -334,7 +334,7 @@
  * would be two or more in the list with that
  * id.
  */
-#ifndef DEVMODE
+#ifndef AST_DEVMODE
 int ast_sched_del(struct sched_context *con, int id)
 #else
 int _ast_sched_del(struct sched_context *con, int id, const char *file, int line, const char *function)
@@ -377,7 +377,7 @@
 
 	if (!s) {
 		ast_debug(1, "Attempted to delete nonexistent schedule entry %d!\n", id);
-#ifndef DEVMODE
+#ifndef AST_DEVMODE
 		ast_assert(s != NULL);
 #else
 		_ast_assert(0, "s != NULL", file, line, function);




More information about the svn-commits mailing list