sad

simple audio daemon
git clone git://git.2f30.org/sad
Log | Files | Refs | LICENSE

commit 09e86a025fb2a2eedda985558f134b17631aeb2d
parent 7b8d287b577c0c84cd79dbc66f35c3a7450afb73
Author: sin <sin@2f30.org>
Date:   Sat, 27 Dec 2014 10:08:32 +0000

Remove findsong()

Diffstat:
Mplaylist.c | 14--------------
Msad.h | 1-
2 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/playlist.c b/playlist.c @@ -46,20 +46,6 @@ addplaylist(const char *path) } Song * -findsong(const char *path) -{ - Song *s; - int i; - - for (i = 0; i < playlist.nsongs; i++) { - s = playlist.songs[i]; - if (!strcmp(s->path, path)) - return s; - } - return NULL; -} - -Song * findsongid(int id) { Song *s; diff --git a/sad.h b/sad.h @@ -57,7 +57,6 @@ int docmd(int); /* playlist.c */ Song *addplaylist(const char *); -Song *findsong(const char *); Song *findsongid(int); Song *getnextsong(void); Song *getprevsong(void);