[asterisk-commits] tilghman: trunk r131986 - in /trunk: ./ include/asterisk/sched.h main/sched.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 18 11:48:19 CDT 2008


Author: tilghman
Date: Fri Jul 18 11:48:18 2008
New Revision: 131986

URL: http://svn.digium.com/view/asterisk?view=rev&rev=131986
Log:
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

........

Modified:
    trunk/   (props changed)
    trunk/include/asterisk/sched.h
    trunk/main/sched.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/include/asterisk/sched.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/sched.h?view=diff&rev=131986&r1=131985&r2=131986
==============================================================================
--- trunk/include/asterisk/sched.h (original)
+++ trunk/include/asterisk/sched.h Fri Jul 18 11:48:18 2008
@@ -210,8 +210,12 @@
  * \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) 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;
 #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

Modified: trunk/main/sched.c
URL: http://svn.digium.com/view/asterisk/trunk/main/sched.c?view=diff&rev=131986&r1=131985&r2=131986
==============================================================================
--- trunk/main/sched.c (original)
+++ trunk/main/sched.c Fri Jul 18 11:48:18 2008
@@ -334,7 +334,11 @@
  * 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, tmp;
 




More information about the asterisk-commits mailing list