diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-08 22:29:05 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-08 22:29:05 +0000 |
commit | 6d1b91c7d52857bb2fa40ca8bd7891e461e37590 (patch) | |
tree | e522d6c35c5971d55708262bed43711bcacdf38f /main.h | |
parent | 10a6c926fd8fa67dc73934e86a2eafc9c4dffa74 (diff) | |
download | mandoc-6d1b91c7d52857bb2fa40ca8bd7891e461e37590.tar.gz mandoc-6d1b91c7d52857bb2fa40ca8bd7891e461e37590.tar.zst mandoc-6d1b91c7d52857bb2fa40ca8bd7891e461e37590.zip |
ISO C99 7.19.2.5 doesn't like mixing putchar(3) and putwchar(3) on
the same stream, and actually, it fails spectacularly on glibc.
Portability issue pointed out by Svyatoslav Mishyn <juef at openmailbox
dot org> after testing on Void Linux.
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.h,v 1.24 2015/11/07 14:01:16 schwarze Exp $ */ +/* $Id: main.h,v 1.25 2016/07/08 22:29:05 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -43,7 +43,6 @@ void *locale_alloc(const struct manoutput *); void *utf8_alloc(const struct manoutput *); void *ascii_alloc(const struct manoutput *); void ascii_free(void *); -void ascii_sepline(void *); void *pdf_alloc(const struct manoutput *); void *ps_alloc(const struct manoutput *); @@ -51,3 +50,4 @@ void pspdf_free(void *); void terminal_mdoc(void *, const struct roff_man *); void terminal_man(void *, const struct roff_man *); +void terminal_sepline(void *); |