summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/util.c b/util.c
index 25c00ae2d6..46fcf0ba79 100644
--- a/util.c
+++ b/util.c
@@ -78,19 +78,6 @@ int *retlen;
#include "missing/file.h"
#endif
-static char *
-check_dir(dir)
- char *dir;
-{
- struct stat st;
-
- if (dir == NULL) return NULL;
- if (stat(dir, &st) < 0) return NULL;
- if (!S_ISDIR(st.st_mode)) return NULL;
- if (eaccess(dir, W_OK) < 0) return NULL;
- return dir;
-}
-
#if defined(MSDOS) || defined(__CYGWIN32__) || defined(NT)
/*
* Copyright (c) 1993, Intergraph Corporation