diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-10 06:29:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-10 06:29:00 +0000 |
commit | 4bfa887201da03d46daafa5d4426ba288eb6e8e7 (patch) | |
tree | 9f25c924ba628935483f3831cd0e4125f350c7a8 /man.h | |
parent | da0aa06476cbc1023f263447977a576ef15a6090 (diff) | |
download | mandoc-4bfa887201da03d46daafa5d4426ba288eb6e8e7.tar.gz |
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 'man.h')
0 files changed, 0 insertions, 0 deletions