summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-02-03 07:52:36 +0000
committerimp <imp@FreeBSD.org>2009-02-03 07:52:36 +0000
commitb5c4f1a09495c391710e954e5ca2975d1d785cc9 (patch)
treee6de240fe6253730c21612d3e57670d0cb07870d
parent10cf8131b7cabe963a3ed98b74724af5201922a9 (diff)
downloadFreeBSD-src-b5c4f1a09495c391710e954e5ca2975d1d785cc9.zip
FreeBSD-src-b5c4f1a09495c391710e954e5ca2975d1d785cc9.tar.gz
Use ANSI function definition for profil.
-rw-r--r--sys/kern/subr_prof.c4
1 files changed, 1 insertions, 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;
OpenPOWER on IntegriCloud