summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-01-10 06:27:23 +0000
committerschwarze <schwarze@openbsd.org>2019-01-10 06:27:23 +0000
commiteb170d6cffe88b9185178f68cef89eefb6194250 (patch)
tree231da5be88482bf0914b40b0c72e64da57355be3 /lib/libc/stdlib/malloc.c
parentUse efifb_stolen() to prevent radeondrm from using aperture memory (diff)
downloadwireguard-openbsd-eb170d6cffe88b9185178f68cef89eefb6194250.tar.xz
wireguard-openbsd-eb170d6cffe88b9185178f68cef89eefb6194250.zip
Initializers for file-scope static variables should be compile-time
constants, and while stderr is a compile-time constant in OpenBSD, Kelvin Sherlock <ksherlock at gmail dot com> reports that it isn't on some other systems, for example on FreeBSD or Linux. So do the initialization by calling mandoc_msg_setoutfile() from main() instead.
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions