diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-07-08 20:24:33 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-07-08 20:24:33 +0200 |
commit | 33813996359509f9c8edcb8d23e7cc18fd92b0e6 (patch) | |
tree | d5d9e2714e110a02bbffb44d61baf70c8c6021c4 | |
parent | 130f5dae73982c0e672a6262c8dc3baeb43cd4e2 (diff) |
index.c: Remove unused function chop_file_From_full_path
-rw-r--r-- | src/feh.h | 1 | ||||
-rw-r--r-- | src/index.c | 5 |
2 files changed, 0 insertions, 6 deletions
@@ -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]; |