From: Tilghman Lesher Date: Wed, 30 Jul 2008 22:39:57 +0000 (+0000) Subject: Oops, wrong define X-Git-Tag: 1.4.22-rc1~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e5939d2f3e8519a82db55754c01382c13c8111b7;p=thirdparty%2Fasterisk.git Oops, wrong define git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@134704 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/sched.h b/include/asterisk/sched.h index 5e51529b96..5a3124cb71 100644 --- a/include/asterisk/sched.h +++ b/include/asterisk/sched.h @@ -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); diff --git a/main/sched.c b/main/sched.c index b08f64443d..b11b73a17d 100644 --- a/main/sched.c +++ b/main/sched.c @@ -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);