diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-20 05:48:58 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-20 05:48:58 +0000 |
commit | 61bf661405b71b867b513fdce9829fe2621814e2 (patch) | |
tree | 3d74fd60e2a8454afa80afb555ded6a9f0360780 /sys/amd64/include/profile.h | |
parent | 0a59f1223c856d6130a3ef3b5c5f27b2a6a2296f (diff) | |
download | FreeBSD-src-61bf661405b71b867b513fdce9829fe2621814e2.zip FreeBSD-src-61bf661405b71b867b513fdce9829fe2621814e2.tar.gz |
Remove __P.
Diffstat (limited to 'sys/amd64/include/profile.h')
-rw-r--r-- | sys/amd64/include/profile.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sys/amd64/include/profile.h b/sys/amd64/include/profile.h index bd8a7da..a00f475 100644 --- a/sys/amd64/include/profile.h +++ b/sys/amd64/include/profile.h @@ -117,16 +117,16 @@ typedef u_int fptrdiff_t; #ifdef _KERNEL -void mcount __P((uintfptr_t frompc, uintfptr_t selfpc)); -void kmupetext __P((uintfptr_t nhighpc)); +void mcount(uintfptr_t frompc, uintfptr_t selfpc); +void kmupetext(uintfptr_t nhighpc); #ifdef GUPROF struct gmonparam; -void nullfunc_loop_profiled __P((void)); -void nullfunc_profiled __P((void)); -void startguprof __P((struct gmonparam *p)); -void stopguprof __P((struct gmonparam *p)); +void nullfunc_loop_profiled(void); +void nullfunc_profiled(void); +void startguprof(struct gmonparam *p); +void stopguprof(struct gmonparam *p); #else #define startguprof(p) #define stopguprof(p) @@ -139,12 +139,12 @@ void stopguprof __P((struct gmonparam *p)); __BEGIN_DECLS #ifdef __GNUC__ #ifdef __ELF__ -void mcount __P((void)) __asm(".mcount"); +void mcount(void) __asm(".mcount"); #else -void mcount __P((void)) __asm("mcount"); +void mcount(void) __asm("mcount"); #endif #endif -static void _mcount __P((uintfptr_t frompc, uintfptr_t selfpc)); +static void _mcount(uintfptr_t frompc, uintfptr_t selfpc); __END_DECLS #endif /* _KERNEL */ @@ -154,11 +154,11 @@ __END_DECLS extern int cputime_bias; __BEGIN_DECLS -int cputime __P((void)); -void empty_loop __P((void)); -void mexitcount __P((uintfptr_t selfpc)); -void nullfunc __P((void)); -void nullfunc_loop __P((void)); +int cputime(void); +void empty_loop(void); +void mexitcount(uintfptr_t selfpc); +void nullfunc(void); +void nullfunc_loop(void); __END_DECLS #endif |