Mercurial > emacs
changeset 7537:ad2451b94c28
(etags_getcwd): Cast result of popen.
(popen): Declaration deleted.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 18 May 1994 01:16:16 +0000 |
parents | efecdee78026 |
children | c4d128d26fc9 |
files | lib-src/etags.c |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/etags.c Wed May 18 01:13:09 1994 +0000 +++ b/lib-src/etags.c Wed May 18 01:16:16 1994 +0000 @@ -55,9 +55,6 @@ #include "getopt.h" extern char *getenv (); -#ifndef MSDOS -extern FILE *popen (); -#endif /* Define CTAGS to make the program "ctags" compatible with the usual one. Let it undefined to make the program "etags", which makes emacs-style @@ -3155,7 +3152,7 @@ { buf = xnew (bufsize, char); - pipe = popen ("pwd 2>/dev/null", "r"); + pipe = (FILE *) popen ("pwd 2>/dev/null", "r"); if (pipe == NULL) { perror ("pwd");