mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
formatting fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
16
sched.c
16
sched.c
@@ -1,13 +1,13 @@
|
|||||||
/*
|
/*
|
||||||
* Asterisk
|
* Asterisk -- A telephony toolkit for Linux.
|
||||||
*
|
*
|
||||||
* Mark Spencer <markster@marko.net>
|
* Mark Spencer <markster@digium.com>
|
||||||
*
|
*
|
||||||
* Copyright(C) Mark Spencer
|
* Copyright(C) Mark Spencer
|
||||||
*
|
*
|
||||||
* Distributed under the terms of the GNU General Public License (GPL) Version 2
|
* Distributed under the terms of the GNU General Public License (GPL) Version 2
|
||||||
*
|
*
|
||||||
* Scheduler Routines (form cheops-NG)
|
* Scheduler Routines (from cheops-NG)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -33,11 +33,11 @@
|
|||||||
(((b).tv_sec == (a).tv_sec) && ((b).tv_usec > (a).tv_usec)))
|
(((b).tv_sec == (a).tv_sec) && ((b).tv_usec > (a).tv_usec)))
|
||||||
|
|
||||||
struct sched {
|
struct sched {
|
||||||
struct sched *next; /* Next event in the list */
|
struct sched *next; /* Next event in the list */
|
||||||
int id; /* ID number of event */
|
int id; /* ID number of event */
|
||||||
struct timeval when; /* Absolute time event should take place */
|
struct timeval when; /* Absolute time event should take place */
|
||||||
int resched; /* When to reschedule */
|
int resched; /* When to reschedule */
|
||||||
void *data; /* Data */
|
void *data; /* Data */
|
||||||
ast_sched_cb callback; /* Callback */
|
ast_sched_cb callback; /* Callback */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user