From: Tilghman Lesher Date: Wed, 30 Jul 2008 22:38:58 +0000 (+0000) Subject: Oops, wrong define X-Git-Tag: 1.6.2.0-beta1~1549 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c95460a353c95dda09094c2454375e592ae98537;p=thirdparty%2Fasterisk.git Oops, wrong define git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134703 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/sched.h b/include/asterisk/sched.h index f9f65cfd92..993ba6b7eb 100644 --- a/include/asterisk/sched.h +++ b/include/asterisk/sched.h @@ -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; diff --git a/main/sched.c b/main/sched.c index f32cfab920..e98accc72d 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);