aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavide Italiano <davide@FreeBSD.org>2014-06-05 03:46:46 +0000
committerDavide Italiano <davide@FreeBSD.org>2014-06-05 03:46:46 +0000
commite392e44c273fef386fe0e8c65262dc5b0e223306 (patch)
treed579af14f591846aafd052876632b4121492959b /sys
parent33d8df4b31dd7017cea534fea503c2a23a1b158c (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_timeout.c26
1 files changed, 6 insertions, 20 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index ef20ed109c91..eee54745aac7 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -873,10 +873,7 @@ softclock(void *arg)
* identify entries for untimeout.
*/
struct callout_handle
-timeout(ftn, arg, to_ticks)
- timeout_t *ftn;
- void *arg;
- int to_ticks;
+timeout(timeout_t *ftn, void *arg, int to_ticks)
{
struct callout_cpu *cc;
struct callout *new;
@@ -898,10 +895,7 @@ timeout(ftn, arg, to_ticks)
}
void
-untimeout(ftn, arg, handle)
- timeout_t *ftn;
- void *arg;
- struct callout_handle handle;
+untimeout(timeout_t *ftn, void *arg, struct callout_handle handle)
{
struct callout_cpu *cc;
@@ -1084,9 +1078,7 @@ callout_schedule(struct callout *c, int to_ticks)
}
int
-_callout_stop_safe(c, safe)
- struct callout *c;
- int safe;
+_callout_stop_safe(struct callout *c, int safe)
{
struct callout_cpu *cc, *old_cc;
struct lock_class *class;
@@ -1258,9 +1250,7 @@ again:
}
void
-callout_init(c, mpsafe)
- struct callout *c;
- int mpsafe;
+callout_init(struct callout *c, int mpsafe)
{
bzero(c, sizeof *c);
if (mpsafe) {
@@ -1274,10 +1264,7 @@ callout_init(c, mpsafe)
}
void
-_callout_init_lock(c, lock, flags)
- struct callout *c;
- struct lock_object *lock;
- int flags;
+_callout_init_lock(struct callout *c, struct lock_object *lock, int flags)
{
bzero(c, sizeof *c);
c->c_lock = lock;
@@ -1309,8 +1296,7 @@ _callout_init_lock(c, lock, flags)
* 2 days. Your milage may vary. - Ken Key <key@cs.utk.edu>
*/
void
-adjust_timeout_calltodo(time_change)
- struct timeval *time_change;
+adjust_timeout_calltodo(struct timeval *time_change)
{
register struct callout *p;
unsigned long delta_ticks;