aboutsummaryrefslogtreecommitdiff
path: root/lib/xwrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xwrap.c')
-rw-r--r--lib/xwrap.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c
index 4516250f..4d8ad711 100644
--- a/lib/xwrap.c
+++ b/lib/xwrap.c
@@ -421,14 +421,6 @@ error:
return NULL;
}
-// Resolve all symlinks, returning malloc() memory.
-char *xrealpath(char *path)
-{
- char *new = realpath(path, NULL);
- if (!new) perror_exit("realpath '%s'", path);
- return new;
-}
-
void xchdir(char *path)
{
if (chdir(path)) error_exit("chdir '%s'", path);