summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/feh.h1
-rw-r--r--src/index.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/src/feh.h b/src/feh.h
index ad7833f..23d41fc 100644
--- a/src/feh.h
+++ b/src/feh.h
@@ -120,7 +120,6 @@ void show_mini_usage(void);
void slideshow_change_image(winwidget winwid, int change);
void slideshow_pause_toggle(winwidget w);
char *slideshow_create_name(feh_file * file);
-char *chop_file_from_full_path(char *str);
void feh_event_handle_keypress(XEvent * ev);
void feh_action_run(feh_file * file, char *action);
char *feh_printf(char *str, feh_file * file);
diff --git a/src/index.c b/src/index.c
index e611ba6..2ef86eb 100644
--- a/src/index.c
+++ b/src/index.c
@@ -497,11 +497,6 @@ void init_index_mode(void)
return;
}
-char *chop_file_from_full_path(char *str)
-{
- return(strrchr(str, '/') + 1);
-}
-
static char *create_index_size_string(char *file)
{
static char str[50];