summaryrefslogtreecommitdiff
path: root/sys/libkern
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-10-20 22:39:35 +0000
committerEd Maste <emaste@FreeBSD.org>2018-10-20 22:39:35 +0000
commit05bc9aa78fcc7152d6d13e9f5ed11612ccb5c6f4 (patch)
tree15bf188ab96f8bab8301a4f9658fd4e6b2ce7775 /sys/libkern
parent188b0da1ce6708f4168309f5b925f1c9df836bc7 (diff)
Notes
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/mcount.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/libkern/mcount.c b/sys/libkern/mcount.c
index 2d387b96cc2d..264cb2cef85c 100644
--- a/sys/libkern/mcount.c
+++ b/sys/libkern/mcount.c
@@ -58,7 +58,8 @@ __FBSDID("$FreeBSD$");
* both frompcindex and frompc. Any reasonable, modern compiler will
* perform this optimization.
*/
-_MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc) /* _mcount; may be static, inline, etc */
+/* _mcount; may be static, inline, etc */
+_MCOUNT_DECL(uintfptr_t frompc, uintfptr_t selfpc)
{
#ifdef GUPROF
int delta;
@@ -291,7 +292,7 @@ mexitcount(uintfptr_t selfpc)
#endif
void
-empty_loop()
+empty_loop(void)
{
int i;
@@ -300,13 +301,13 @@ empty_loop()
}
void
-nullfunc()
+nullfunc(void)
{
__asm __volatile("");
}
void
-nullfunc_loop()
+nullfunc_loop(void)
{
int i;