summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/glob.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-11-30 21:05:33 +0000
committerache <ache@FreeBSD.org>2000-11-30 21:05:33 +0000
commit5e7fc01bd9bf3444f2d8b21ab1c56c1f2d599068 (patch)
treea212ee10b5214f5c4302ff44d44c2542d83cf7b6 /contrib/tcsh/glob.c
parentd7d472004aa5fe13bc67f9aa639952d978d342e9 (diff)
downloadFreeBSD-src-5e7fc01bd9bf3444f2d8b21ab1c56c1f2d599068.zip
FreeBSD-src-5e7fc01bd9bf3444f2d8b21ab1c56c1f2d599068.tar.gz
Initial import of slightly trimmed tcsh 6.10
Diffstat (limited to 'contrib/tcsh/glob.c')
-rw-r--r--contrib/tcsh/glob.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/tcsh/glob.c b/contrib/tcsh/glob.c
index f6a2fd2..23dc61b 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;
OpenPOWER on IntegriCloud