diff options
author | wlemb <wlemb> | 2001-04-20 13:34:56 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-04-20 13:34:56 +0000 |
commit | f874b9a4016a8ce490ecccfee92e4edeaf316a7d (patch) | |
tree | 069036aa4da850be22b7171f03d5966dd7070d1c /src/include/lib.h | |
parent | 92c8fbd691fccf1796420251c5b2978bcd748393 (diff) | |
download | groff-f874b9a4016a8ce490ecccfee92e4edeaf316a7d.tar.gz |
`Version_string' as C++ object was not visible to linker from C
object files.
Add `const' to `Version_string'.
* src/utils/pfbtops/pfbtops.c (main), src/roff/groff/groff.cc
(main), src/roff/troff/input.cc (main), src/preproc/tbl/main.cc
(main), src/preproc/pic/main.cc (main), src/preproc/eqn/main.cc
(main), src/preproc/grn/main.cc (main), src/preproc/html/pre-html.cc
(scanArguments), src/preproc/refer/refer.cc (main),
src/preproc/soelim/soelim.cc (main), src/devices/grotty/tty.cc
(main), src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
(main), src/devices/grohtml/post-html.cc (main),
src/devices/grolbp/lbp.cc (main), src/utils/tfmtodit/tfmtodit.cc
(main), src/utils/hpftodit/hpftodit.cc (main),
src/utils/lookbib/lookbib.cc (main), src/utils/indxbib/indxbib.cc
(main), src/utils/lkbib/lkbib.cc (main),
src/utils/addftinfo/addftinfo.cc (main): Implement it.
* src/roff/groff/pipeline.c: Add _UWIN.
* src/include/nonposix.h: Ditto.
* src/include/lib.h: Use HAVE_STRERROR.
* src/roff/groff/pipeline.c: Ditto.
* src/preproc/html/pre-html.cc: Remove declaration of `strerror'.
* src/libs/libgroff/Makefile.sub (version.cc): Add `extern "C"'.
* src/utils/pfbtops/pfbtops.c: Add copyright notice.
* win32-diffs: Updated.
* src/utils/hpftodit/hpftodit.cc (read_map): Fix compiler warning.
Diffstat (limited to 'src/include/lib.h')
-rw-r--r-- | src/include/lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/lib.h b/src/include/lib.h index 08643220..b456fadb 100644 --- a/src/include/lib.h +++ b/src/include/lib.h @@ -19,7 +19,7 @@ with groff; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ extern "C" { -#ifndef strerror +#ifndef HAVE_STRERROR char *strerror(int); #endif const char *i_to_a(int); |