aboutsummaryrefslogtreecommitdiffstats
path: root/main/sched.c
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 /main/sched.c
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 'main/sched.c')
-rw-r--r--main/sched.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/sched.c b/main/sched.c
index 99c72c8d5..4e0a51bca 100644
--- a/main/sched.c
+++ b/main/sched.c
@@ -255,7 +255,11 @@ int ast_sched_add(struct sched_context *con, int when, ast_sched_cb callback, co
* would be two or more in the list with that
* id.
*/
+#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)
+#endif
{
struct sched *s;