diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-18 16:49:44 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-18 16:49:44 +0000 |
commit | ef6095f537cd6086a6029229330ade31f162e42b (patch) | |
tree | a1d499ed9b084d982989a1b381011b6e19b92cdf /include | |
parent | 4ff7dd248caa33d8fe904d5a16c8491f78bbaeea (diff) |
Merged revisions 131986 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r131986 | tilghman | 2008-07-18 11:48:18 -0500 (Fri, 18 Jul 2008) | 10 lines
Merged revisions 131985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r131985 | tilghman | 2008-07-18 11:46:23 -0500 (Fri, 18 Jul 2008) | 2 lines
Preserve ABI compatibility with last change
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@131987 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/sched.h b/include/asterisk/sched.h index a1df8f11c..56f7ab59c 100644 --- a/include/asterisk/sched.h +++ b/include/asterisk/sched.h @@ -158,8 +158,12 @@ int ast_sched_replace_variable(int old_id, struct sched_context *con, int when, * \param id ID of the scheduled item to delete * \return Returns 0 on success, -1 on failure */ +#ifndef 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); #define ast_sched_del(a, b) _ast_sched_del(a, b, __FILE__, __LINE__, __PRETTY_FUNCTION__) +#endif /*! \brief Determines number of seconds until the next outstanding event to take place * Determine the number of seconds until the next outstanding event |