aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-18 16:49:44 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-18 16:49:44 +0000
commitef6095f537cd6086a6029229330ade31f162e42b (patch)
treea1d499ed9b084d982989a1b381011b6e19b92cdf /main
parent4ff7dd248caa33d8fe904d5a16c8491f78bbaeea (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 'main')
-rw-r--r--main/sched.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/sched.c b/main/sched.c
index dd1174258..050053639 100644
--- a/main/sched.c
+++ b/main/sched.c
@@ -263,7 +263,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;