summaryrefslogtreecommitdiffstats
path: root/test-strcasestr.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-01-10 06:29:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-01-10 06:29:00 +0000
commit4bfa887201da03d46daafa5d4426ba288eb6e8e7 (patch)
tree9f25c924ba628935483f3831cd0e4125f350c7a8 /test-strcasestr.c
parentda0aa06476cbc1023f263447977a576ef15a6090 (diff)
downloadmandoc-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 'test-strcasestr.c')
0 files changed, 0 insertions, 0 deletions