aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/support.c')
-rw-r--r--src/support.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/support.c b/src/support.c
index 3ceac5a3a..bfcd07025 100644
--- a/src/support.c
+++ b/src/support.c
@@ -26,23 +26,6 @@
#include <ctype.h>
#include <string.h>
-#define BUFSIZE 1024
-
-char *
-remove_trailing_slash(char *path)
-{
- int len;
-
- if (path == NULL)
- return NULL;
-
- len = strlen(path);
- if (len > 1 && path[len - 1] == '/')
- path[len - 1] = '\0';
-
- return path;
-}
-
#ifndef HAVE_STRCASESTR
const char *
strcasestr(const char *haystack, const char *needle)