Oops, wrong define
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 30 Jul 2008 22:38:58 +0000 (22:38 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 30 Jul 2008 22:38:58 +0000 (22:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134703 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/sched.h
main/sched.c

index f9f65cf..993ba6b 100644 (file)
@@ -210,7 +210,7 @@ const void *ast_sched_find_data(struct sched_context *con, int id);
  * \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;
index f32cfab..e98accc 100644 (file)
@@ -334,7 +334,7 @@ const void *ast_sched_find_data(struct sched_context *con, int id)
  * 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 @@ int _ast_sched_del(struct sched_context *con, int id, const char *file, int line
 
        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);