Oops, wrong define

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-07-30 22:38:58 +00:00
parent bf8e80eebc
commit c95460a353
2 changed files with 3 additions and 3 deletions

View 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 * \param id ID of the scheduled item to delete
* \return Returns 0 on success, -1 on failure * \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; int ast_sched_del(struct sched_context *con, int id) attribute_warn_unused_result;
#else #else
int _ast_sched_del(struct sched_context *con, int id, const char *file, int line, const char *function) attribute_warn_unused_result; int _ast_sched_del(struct sched_context *con, int id, const char *file, int line, const char *function) attribute_warn_unused_result;

View 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 * would be two or more in the list with that
* id. * id.
*/ */
#ifndef DEVMODE #ifndef AST_DEVMODE
int ast_sched_del(struct sched_context *con, int id) int ast_sched_del(struct sched_context *con, int id)
#else #else
int _ast_sched_del(struct sched_context *con, int id, const char *file, int line, const char *function) 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) { if (!s) {
ast_debug(1, "Attempted to delete nonexistent schedule entry %d!\n", id); ast_debug(1, "Attempted to delete nonexistent schedule entry %d!\n", id);
#ifndef DEVMODE #ifndef AST_DEVMODE
ast_assert(s != NULL); ast_assert(s != NULL);
#else #else
_ast_assert(0, "s != NULL", file, line, function); _ast_assert(0, "s != NULL", file, line, function);