diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-10-15 15:49:40 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-10-15 15:49:40 +0000 |
commit | 5a18f66b842a725620cdde670637ef7595462baa (patch) | |
tree | ae02da8712049ca2630ee68f4600ceeb5e3ab819 /texinfo/info | |
parent | c108ed8151be847d3aba1da9d5beac40673c43dd (diff) | |
download | gcc-5a18f66b842a725620cdde670637ef7595462baa.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15910 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'texinfo/info')
-rw-r--r-- | texinfo/info/man.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/texinfo/info/man.c b/texinfo/info/man.c index f278837e10a..603325886b4 100644 --- a/texinfo/info/man.c +++ b/texinfo/info/man.c @@ -51,6 +51,8 @@ # endif /* !hpux */ #endif /* FD_SET */ +extern char *getenv (); + static char *read_from_fd (); static void clean_manpage (); static NODE *manpage_node_of_file_buffer (); @@ -180,7 +182,7 @@ executable_file_in_path (filename, path) static char * find_man_formatter () { - return (executable_file_in_path ("man", (char *)getenv ("PATH"))); + return (executable_file_in_path ("man", getenv ("PATH"))); } static char *manpage_pagename = (char *)NULL; |