Skip to content
Snippets Groups Projects
Commit c95460a3 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Oops, wrong define

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent bf8e80ee
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment