diff options
author | wlemb <wlemb> | 2001-04-20 23:53:47 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-04-20 23:53:47 +0000 |
commit | 7eb65edae91d64b4d60961184403215b204fdd35 (patch) | |
tree | 895d779e357d2ecc92626f6d4bd31c64a2fadc27 /src/utils | |
parent | f874b9a4016a8ce490ecccfee92e4edeaf316a7d (diff) | |
download | groff-7eb65edae91d64b4d60961184403215b204fdd35.tar.gz |
* configure.in: Move check for mkstemp() to...
* aclocal.m4 (GROFF_MKSTEMP): This new function.
* configure: Regenerated.
* src/include/groff-getopt.h: Don't use variable names in
declarations.
* configure.in: Add special check for mkstemp().
* src/libs/libgroff/tmpfile.cc: Use it.
* src/utils/indxbib/indxbib.cc: Ditto.
* src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style.
* src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use
`const'.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/indxbib/indxbib.cc | 10 | ||||
-rw-r--r-- | src/utils/pfbtops/pfbtops.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/utils/indxbib/indxbib.cc b/src/utils/indxbib/indxbib.cc index 403aa6fe..358c8353 100644 --- a/src/utils/indxbib/indxbib.cc +++ b/src/utils/indxbib/indxbib.cc @@ -37,13 +37,13 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "nonposix.h" +extern "C" const char *Version_string; + +#ifndef HAVE_MKSTEMP_PROTO extern "C" { - const char *Version_string; - // Solaris 2.5.1 has these functions, - // but its stdlib.h fails to declare them. - char *mktemp(char *); - int mkstemp(char *); + extern int mkstemp(char *); } +#endif #define DEFAULT_HASH_TABLE_SIZE 997 #define TEMP_INDEX_TEMPLATE "indxbibXXXXXX" diff --git a/src/utils/pfbtops/pfbtops.c b/src/utils/pfbtops/pfbtops.c index 03fc4b41..0964edec 100644 --- a/src/utils/pfbtops/pfbtops.c +++ b/src/utils/pfbtops/pfbtops.c @@ -66,7 +66,7 @@ int main(argc, argv) exit(0); break; } - case CHAR_MAX + 1: // --help + case CHAR_MAX + 1: /* --help */ usage(stdout); exit(0); break; |