]> pilppa.org Git - uci.git/blobdiff - list.c
move get_filename as well
[uci.git] / list.c
diff --git a/list.c b/list.c
index 2142b716de3e1a8fd07df39e90c393c42b94f97d..066a9fd789008474e25b7aecd476857018756318 100644 (file)
--- a/list.c
+++ b/list.c
@@ -215,14 +215,4 @@ found:
        return 0;
 }
 
-static inline char *get_filename(char *path)
-{
-       char *p;
-
-       p = strrchr(path, '/');
-       p++;
-       if (!*p)
-               return NULL;
-       return p;
-}