From 8858a5f5a9ca6a4723ce09309514ef9e9133c7cf Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 31 May 2007 21:33:08 +0000 Subject: switch the flags argument to the front, requested by art ok dlg --- sys/kern/kern_workq.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/kern/kern_workq.c') diff --git a/sys/kern/kern_workq.c b/sys/kern/kern_workq.c index e3435bb8fca..251010400f9 100644 --- a/sys/kern/kern_workq.c +++ b/sys/kern/kern_workq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_workq.c,v 1.1 2007/05/31 18:16:59 dlg Exp $ */ +/* $OpenBSD: kern_workq.c,v 1.2 2007/05/31 21:33:07 tedu Exp $ */ /* * Copyright (c) 2007 David Gwynne @@ -28,7 +28,7 @@ struct workq_task { int wqt_flags; - void (*wqt_func)(void *, void *); + workq_fn wqt_func; void *wqt_arg1; void *wqt_arg2; @@ -121,8 +121,8 @@ workq_destroy(struct workq *wq) } int -workq_add_task(struct workq *wq, void (*func)(void *, void *), - void *a1, void *a2, int flags) +workq_add_task(struct workq *wq, int flags, workq_fn func, + void *a1, void *a2) { struct workq_task *wqt; int wake = 1; -- cgit v1.2.3