diff options
author | ru <ru@FreeBSD.org> | 2001-07-10 17:09:00 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-07-10 17:09:00 +0000 |
commit | 8d6dea3a5542a987c08a218c28776d3751d6878d (patch) | |
tree | 815804646c42fb89b4a8005be0c1f82d27b95463 /contrib/groff/src/include/lib.h | |
parent | 9ea23f4150d8e9a0b84050876c26239addf73c8c (diff) | |
download | FreeBSD-src-8d6dea3a5542a987c08a218c28776d3751d6878d.zip FreeBSD-src-8d6dea3a5542a987c08a218c28776d3751d6878d.tar.gz |
Virgin import of FSF groff v1.17.2
Diffstat (limited to 'contrib/groff/src/include/lib.h')
-rw-r--r-- | contrib/groff/src/include/lib.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/contrib/groff/src/include/lib.h b/contrib/groff/src/include/lib.h index ad416e0..db5277c 100644 --- a/contrib/groff/src/include/lib.h +++ b/contrib/groff/src/include/lib.h @@ -1,5 +1,5 @@ // -*- C++ -*- -/* Copyright (C) 1989-2000 Free Software Foundation, Inc. +/* Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) This file is part of groff. @@ -19,16 +19,18 @@ 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); const char *if_to_a(int, int); } -/* stdio.h on IRIX and OSF/1 include getopt.h */ +/* stdio.h on IRIX, OSF/1, and UWIN includes getopt.h */ -#if !(defined(__sgi) || (defined(__osf__) && defined(__alpha))) +#if !(defined(__sgi) \ + || (defined(__osf__) && defined(__alpha)) \ + || defined(_UWIN)) #include <groff-getopt.h> #endif @@ -41,8 +43,8 @@ int is_prime(unsigned); #include <strings.h> #endif -FILE *xtmpfile(char **namep=0, char *postfix=0, int do_unlink=1); -char *xtmptemplate(char *extension=0); +FILE *xtmpfile(char **namep = 0, char *postfix = 0, int do_unlink = 1); +char *xtmptemplate(char *extension = 0); #ifdef NEED_DECLARATION_POPEN @@ -56,6 +58,8 @@ extern "C" { int pclose (FILE *); } #endif /* NEED_DECLARATION_PCLOSE */ +size_t file_name_max(const char *fname); + int interpret_lf_args(const char *p); extern char illegal_char_table[]; |