aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-18 16:46:23 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-18 16:46:23 +0000
commitda9bcb0f9e941ccf210e53304cbf64b2a7384b89 (patch)
treeb27cab63212fd861a50e3ea1c8359c1586e2a31d /include
parent7dda54c2e0d23779f3b4e69ea974abab3205dad7 (diff)
Preserve ABI compatibility with last change
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@131985 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/sched.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/sched.h b/include/asterisk/sched.h
index 6391a0808..0a601c7b4 100644
--- a/include/asterisk/sched.h
+++ b/include/asterisk/sched.h
@@ -118,8 +118,12 @@ 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
+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