diff options
Diffstat (limited to 'src/librc-misc.c')
-rw-r--r-- | src/librc-misc.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/librc-misc.c b/src/librc-misc.c index 4cc69be0..193b77c0 100644 --- a/src/librc-misc.c +++ b/src/librc-misc.c @@ -132,21 +132,6 @@ char *rc_strcatpaths (const char *path1, const char *paths, ...) } librc_hidden_def(rc_strcatpaths) -bool rc_exists (const char *pathname) -{ - struct stat buf; - - if (! pathname) - return (false); - - if (stat (pathname, &buf) == 0) - return (true); - - errno = 0; - return (false); -} -librc_hidden_def(rc_exists) - char **rc_ls_dir (const char *dir, int options) { DIR *dp; |