svn commit: r188060 - head/sys/kern

Warner Losh imp at FreeBSD.org
Mon Feb 2 23:52:38 PST 2009


Author: imp
Date: Tue Feb  3 07:52:36 2009
New Revision: 188060
URL: http://svn.freebsd.org/changeset/base/188060

Log:
  Use ANSI function definition for profil.

Modified:
  head/sys/kern/subr_prof.c

Modified: head/sys/kern/subr_prof.c
==============================================================================
--- head/sys/kern/subr_prof.c	Tue Feb  3 07:52:07 2009	(r188059)
+++ head/sys/kern/subr_prof.c	Tue Feb  3 07:52:36 2009	(r188060)
@@ -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;


More information about the svn-src-head mailing list