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