diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2000-11-30 21:05:33 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2000-11-30 21:05:33 +0000 |
| commit | 3b6eaa7b1ef31985836f61a8d833b90490c337b5 (patch) | |
| tree | a212ee10b5214f5c4302ff44d44c2542d83cf7b6 /contrib/tcsh/glob.c | |
| parent | b3a5f6c29dfc2c09b67dab73ff97cb6b5fcb425b (diff) | |
Notes
Diffstat (limited to 'contrib/tcsh/glob.c')
| -rw-r--r-- | contrib/tcsh/glob.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/tcsh/glob.c b/contrib/tcsh/glob.c index f6a2fd213dff..23dc61bff771 100644 --- a/contrib/tcsh/glob.c +++ b/contrib/tcsh/glob.c @@ -63,9 +63,9 @@ static char sccsid[] = "@(#)glob.c 5.12 (Berkeley) 6/24/91"; #include <ctype.h> typedef void * ptr_t; #endif -#ifdef WINNT +#ifdef WINNT_NATIVE #pragma warning(disable:4244) -#endif /* WINNT */ +#endif /* WINNT_NATIVE */ #define Char __Char #include "sh.h" @@ -568,7 +568,6 @@ glob3(pathbuf, pathend, pattern, restpattern, pglob, no_match) glob_t *pglob; int no_match; { - extern int errno; DIR *dirp; struct dirent *dp; int err; |
