summaryrefslogtreecommitdiff
path: root/lib-src/etags.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-05-18 01:16:16 +0000
committerRichard M. Stallman <rms@gnu.org>1994-05-18 01:16:16 +0000
commit18806fc439c70e9387bc0ccd92d08051b1087477 (patch)
treee6faef28bdcb3408ea5331222ce8befa362f11c0 /lib-src/etags.c
parentf3bead8bab973c8cfe1289186aea3da794a2dc8c (diff)
downloademacs-18806fc439c70e9387bc0ccd92d08051b1087477.tar.gz
(etags_getcwd): Cast result of popen.
(popen): Declaration deleted.
Diffstat (limited to 'lib-src/etags.c')
-rw-r--r--lib-src/etags.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 4374940c587..6c480f4b719 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -55,9 +55,6 @@ char pot_etags_version[] = "@(#) pot revision number is 10.32";
#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 @@ etags_getcwd ()
{
buf = xnew (bufsize, char);
- pipe = popen ("pwd 2>/dev/null", "r");
+ pipe = (FILE *) popen ("pwd 2>/dev/null", "r");
if (pipe == NULL)
{
perror ("pwd");