# HG changeset patch # User Richard M. Stallman # Date 769223776 0 # Node ID ad2451b94c280979c2056657fdb8fd2fe23f3ac9 # Parent efecdee780266dbb5396e434e490bed21094e348 (etags_getcwd): Cast result of popen. (popen): Declaration deleted. diff -r efecdee78026 -r ad2451b94c28 lib-src/etags.c --- 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");