summaryrefslogtreecommitdiff
path: root/main/sched.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-07-30 22:38:58 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-07-30 22:38:58 +0000
commitc95460a353c95dda09094c2454375e592ae98537 (patch)
tree99c5a7dd5f4762c8a2d8c1f6d291a8051fde1c37 /main/sched.c
parentbf8e80eebc6fbcc83caf8dd6ed4f0b9f8265aa5f (diff)
Oops, wrong define
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/sched.c')
-rw-r--r--main/sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/sched.c b/main/sched.c
index f32cfab92..e98accc72 100644
--- a/main/sched.c
+++ b/main/sched.c
@@ -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);