aboutsummaryrefslogtreecommitdiff
path: root/src/librc-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/librc-misc.c')
-rw-r--r--src/librc-misc.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/librc-misc.c b/src/librc-misc.c
index a8709903..060bee09 100644
--- a/src/librc-misc.c
+++ b/src/librc-misc.c
@@ -166,21 +166,6 @@ bool rc_is_dir (const char *pathname)
}
librc_hidden_def(rc_is_dir)
-bool rc_is_link (const char *pathname)
-{
- struct stat buf;
-
- if (! pathname)
- return (false);
-
- if (lstat (pathname, &buf) == 0)
- return (S_ISLNK (buf.st_mode));
-
- errno = 0;
- return (false);
-}
-librc_hidden_def(rc_is_link)
-
bool rc_is_exec (const char *pathname)
{
struct stat buf;