From b5c4f1a09495c391710e954e5ca2975d1d785cc9 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 3 Feb 2009 07:52:36 +0000 Subject: Use ANSI function definition for profil. --- sys/kern/subr_prof.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c index 5a70482..be98d44 100644 --- a/sys/kern/subr_prof.c +++ b/sys/kern/subr_prof.c @@ -404,9 +404,7 @@ struct profil_args { #endif /* ARGSUSED */ int -profil(td, uap) - struct thread *td; - register struct profil_args *uap; +profil(struct thread *td, struct profil_args *uap) { struct uprof *upp; struct proc *p; -- cgit v1.1