]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mcount: tidy up ANSIfication
authoremaste <emaste@FreeBSD.org>
Sat, 20 Oct 2018 22:39:35 +0000 (22:39 +0000)
committeremaste <emaste@FreeBSD.org>
Sat, 20 Oct 2018 22:39:35 +0000 (22:39 +0000)
commit6b0fbf32805cb51251c9755434105bac61d79ed8
tree15bf188ab96f8bab8301a4f9658fd4e6b2ce7775
parentec3787409f9c480ad77a82d981a72d38da38f392
mcount: tidy up ANSIfication

libc/gmon's mcount was ANSIfied in r124180, with libkern following over
a decade later, in r325988, but some minor discrepancies remained.
Update libc/gmon's mexitcount to an ANSI C function definition, and use
(void) for libkern-only functions that take no arguments.

Reported by: bde
lib/libc/gmon/mcount.c
sys/libkern/mcount.c