diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 5 |
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"; | |||
| 55 | #include "getopt.h" | 55 | #include "getopt.h" |
| 56 | 56 | ||
| 57 | extern char *getenv (); | 57 | extern char *getenv (); |
| 58 | #ifndef MSDOS | ||
| 59 | extern FILE *popen (); | ||
| 60 | #endif | ||
| 61 | 58 | ||
| 62 | /* Define CTAGS to make the program "ctags" compatible with the usual one. | 59 | /* Define CTAGS to make the program "ctags" compatible with the usual one. |
| 63 | Let it undefined to make the program "etags", which makes emacs-style | 60 | Let it undefined to make the program "etags", which makes emacs-style |
| @@ -3155,7 +3152,7 @@ etags_getcwd () | |||
| 3155 | { | 3152 | { |
| 3156 | buf = xnew (bufsize, char); | 3153 | buf = xnew (bufsize, char); |
| 3157 | 3154 | ||
| 3158 | pipe = popen ("pwd 2>/dev/null", "r"); | 3155 | pipe = (FILE *) popen ("pwd 2>/dev/null", "r"); |
| 3159 | if (pipe == NULL) | 3156 | if (pipe == NULL) |
| 3160 | { | 3157 | { |
| 3161 | perror ("pwd"); | 3158 | perror ("pwd"); |