diff options
author | wlemb <wlemb> | 2001-08-13 20:27:24 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-08-13 20:27:24 +0000 |
commit | 0493a12cbdb350cbabb9286d10e8e085d4b747b5 (patch) | |
tree | 39efe689cc8a60b71d8c0b22718702273f01f98c /src | |
parent | 1cce6a2ecf0c58357b5e2187ea459bc165810ad8 (diff) | |
download | groff-0493a12cbdb350cbabb9286d10e8e085d4b747b5.tar.gz |
* src/preproc/tbl/tbl.man: Minor documentation update.
* src/libs/libgroff/tmpname.cc: Add prototype for gettimeofday().
* configure.ac: Add declaration test for gettimeofday().
* Makefile.in: Document NEED_DECLARATION_GETTIMEOFDAY defines.
* aclocal.m4: Include sys/time.h for gettimeofday declaration test.
* configure: Regenerated.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/lib.h | 2 | ||||
-rw-r--r-- | src/libs/libgroff/tmpname.cc | 8 | ||||
-rw-r--r-- | src/preproc/tbl/tbl.man | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/src/include/lib.h b/src/include/lib.h index 03038951..06ec5756 100644 --- a/src/include/lib.h +++ b/src/include/lib.h @@ -78,7 +78,7 @@ inline int illegal_input_char(int c) #ifdef HAVE_STRCASECMP #ifdef NEED_DECLARATION_STRCASECMP extern "C" { - // Ultrix's string.h fails to declare this. + // Ultrix4.3's string.h fails to declare this. int strcasecmp(const char *, const char *); } #endif /* NEED_DECLARATION_STRCASECMP */ diff --git a/src/libs/libgroff/tmpname.cc b/src/libs/libgroff/tmpname.cc index bd0e3a07..05510ecb 100644 --- a/src/libs/libgroff/tmpname.cc +++ b/src/libs/libgroff/tmpname.cc @@ -39,6 +39,14 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ # include <sys/time.h> #endif +#ifdef HAVE_GETTIMEOFDAY +#ifdef NEED_DECLARATION_GETTIMEOFDAY +extern "C" { + int gettimeofday(struct timeval *, void *); +} +#endif +#endif + #if HAVE_STDINT_H # include <stdint.h> #endif diff --git a/src/preproc/tbl/tbl.man b/src/preproc/tbl/tbl.man index 7447f02a..e3ff70d2 100644 --- a/src/preproc/tbl/tbl.man +++ b/src/preproc/tbl/tbl.man @@ -88,7 +88,7 @@ macro may contain any of the following global options: Centers the table (default is left-justified). The alternative keyword name .B centre -is also recognized. +is also recognized (this is a GNU tbl extension). . .TP .BI delim( xy ) |