DragonFly submit List (threaded) for 2004-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
k&r-style removal in kern_synch.c
Hi !
This changes the definition-style of tsleep and sched_setup
in kern/kern_synch.c from k&r to ansi (hopefully).
(And this time I didn't change any comments.)
Cheers
Peter
--
<peter.kadau@xxxxxxxxxxxxxxxx>
Campus der Max-Planck-Institute Tübingen
Netzwerk- und Systemadministration
Tel: +49 7071 601 598
Fax: +49 7071 601 616
Index: kern/kern_synch.c
===================================================================
RCS file: /local/dragonfly/src/sys/kern/kern_synch.c,v
retrieving revision 1.27
diff -u -r1.27 kern_synch.c
--- kern/kern_synch.c 30 Jan 2004 05:42:17 -0000 1.27
+++ kern/kern_synch.c 4 Mar 2004 19:36:44 -0000
@@ -366,10 +366,7 @@
* YYY priority now unused
*/
int
-tsleep(ident, flags, wmesg, timo)
- void *ident;
- int flags, timo;
- const char *wmesg;
+tsleep(void *ident, int flags, const char *wmesg, int timo)
{
struct thread *td = curthread;
struct proc *p = td->td_proc; /* may be NULL */
@@ -845,8 +842,7 @@
/* ARGSUSED */
static void
-sched_setup(dummy)
- void *dummy;
+sched_setup(void *dummy)
{
callout_init(&loadav_callout);
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]