mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
sched: Fix typo and whitespace change.
........ Merged revisions 422200 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@422201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -165,7 +165,7 @@ void ast_sched_context_destroy(struct ast_sched_context *c);
|
|||||||
* A scheduler callback takes a pointer with callback data and
|
* A scheduler callback takes a pointer with callback data and
|
||||||
*
|
*
|
||||||
* \retval 0 if the callback should not be rescheduled
|
* \retval 0 if the callback should not be rescheduled
|
||||||
* \retval non-zero if the callback should be scheduled agai
|
* \retval non-zero if the callback should be scheduled again
|
||||||
*/
|
*/
|
||||||
typedef int (*ast_sched_cb)(const void *data);
|
typedef int (*ast_sched_cb)(const void *data);
|
||||||
#define AST_SCHED_CB(a) ((ast_sched_cb)(a))
|
#define AST_SCHED_CB(a) ((ast_sched_cb)(a))
|
||||||
|
@@ -497,6 +497,7 @@ int _ast_sched_del(struct ast_sched_context *con, int id, const char *file, int
|
|||||||
#else
|
#else
|
||||||
{
|
{
|
||||||
char buf[100];
|
char buf[100];
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "s != NULL, id=%d", id);
|
snprintf(buf, sizeof(buf), "s != NULL, id=%d", id);
|
||||||
_ast_assert(0, buf, file, line, function);
|
_ast_assert(0, buf, file, line, function);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user