diff options
author | Richard Henderson <rth@cygnus.com> | 1997-10-15 08:49:40 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-10-15 09:49:40 -0600 |
commit | 38bf38c1bc651d4c6f8a705a954b0c7770067461 (patch) | |
tree | ae02da8712049ca2630ee68f4600ceeb5e3ab819 /texinfo/makeinfo | |
parent | 87a0d1ac6933139d3381f8e2279839510277ed4c (diff) | |
download | gcc-38bf38c1bc651d4c6f8a705a954b0c7770067461.zip gcc-38bf38c1bc651d4c6f8a705a954b0c7770067461.tar.gz gcc-38bf38c1bc651d4c6f8a705a954b0c7770067461.tar.bz2 |
man.c (find_man_formatter): Don't cast getenv(), but provide a minimal declaration at top level.
* info/man.c (find_man_formatter): Don't cast getenv(), but provide
a minimal declaration at top level.
* makeinfo/makeinfo.c: Don't redefine alloca if it is already defined.
From-SVN: r15910
Diffstat (limited to 'texinfo/makeinfo')
-rw-r--r-- | texinfo/makeinfo/makeinfo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/texinfo/makeinfo/makeinfo.c b/texinfo/makeinfo/makeinfo.c index fddc6d9..2b9e966 100644 --- a/texinfo/makeinfo/makeinfo.c +++ b/texinfo/makeinfo/makeinfo.c @@ -1,5 +1,5 @@ /* Makeinfo -- convert texinfo format files into info files. - $Id: makeinfo.c,v 1.1.1.1 1997/08/21 22:58:07 jason Exp $ + $Id: makeinfo.c,v 1.2 1997/09/03 04:25:24 law Exp $ Copyright (C) 1987, 92, 93, 94, 95, 96 Free Software Foundation, Inc. @@ -105,6 +105,7 @@ int minor_version = 67; #include <sys/file.h> #endif /* HAVE_SYS_FILE_H */ +#if !defined(alloca) #if defined (__GNUC__) #define alloca __builtin_alloca #else @@ -116,6 +117,7 @@ extern char *alloca (); #endif /* !_AIX */ #endif /* !HAVE_ALLOCA_H */ #endif /* !__GNUC__ */ +#endif /* alloca */ void *xmalloc (), *xrealloc (); #if defined (__osf__) |