]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Oops, wrong define
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 30 Jul 2008 22:39:57 +0000 (22:39 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 30 Jul 2008 22:39:57 +0000 (22:39 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@134704 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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

index 5e51529b9692a7d6f2b9a0b614fb7dd773615eda..5a3124cb716db71c98f706c373d799e8b183b45e 100644 (file)
@@ -134,7 +134,7 @@ int ast_sched_add_variable(struct sched_context *con, int when, ast_sched_cb cal
  * \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);
 #else
 int _ast_sched_del(struct sched_context *con, int id, const char *file, int line, const char *function);
index b08f64443d56cb9c21af84262f459bf6ed2a2214..b11b73a17d23aa96014423fbf587bbe4575bb0ff 100644 (file)
@@ -255,7 +255,7 @@ int ast_sched_add(struct sched_context *con, int when, ast_sched_cb callback, co
  * 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)
@@ -286,7 +286,7 @@ int _ast_sched_del(struct sched_context *con, int id, const char *file, int line
        if (!s) {
                if (option_debug)
                        ast_log(LOG_DEBUG, "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);