summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2011-05-05 12:01:43 +0000
committerreyk <reyk@openbsd.org>2011-05-05 12:01:43 +0000
commit85a8c65f784e70f65fdaee2b0e4ee05f044bb955 (patch)
tree337b2fb3af8e9618d32860231855c3479cbc9709 /lib/libc/stdlib/malloc.c
parentAllow a user to specify the route priority (diff)
downloadwireguard-openbsd-85a8c65f784e70f65fdaee2b0e4ee05f044bb955.tar.xz
wireguard-openbsd-85a8c65f784e70f65fdaee2b0e4ee05f044bb955.zip
Update all logging and debug functions to use the __func__ macro
instead of static function names. __func__ is C99 and perfectly fine to use. It also avoids printing errors; for example if a statement log_debug("foo:"..) was moved or copied from function foo() to bar() and the log message was not updated...
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions