aboutsummaryrefslogtreecommitdiffstats
path: root/src/songvec.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-10-13 21:54:02 -0700
committerEric Wong <normalperson@yhbt.net>2008-10-13 21:54:02 -0700
commit396f03db551d585ee3eff4a3a1e6f49283abbc61 (patch)
treee5566191b76c19e50222e41d7a835e0652a9b2be /src/songvec.h
parente5c604feac962f654ba2cb7739ef33b9242cb072 (diff)
downloadmpd-396f03db551d585ee3eff4a3a1e6f49283abbc61.tar.gz
mpd-396f03db551d585ee3eff4a3a1e6f49283abbc61.tar.xz
mpd-396f03db551d585ee3eff4a3a1e6f49283abbc61.zip
{dir,song}vec: remove unused *_destroy routines
Blindly destroying these without freeing the underlying elements was a bad idea, always. Our iterators suck less nowadays and we can traverse them and free() each element safely.
Diffstat (limited to 'src/songvec.h')
-rw-r--r--src/songvec.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/songvec.h b/src/songvec.h
index 10a896052..015aa1a9b 100644
--- a/src/songvec.h
+++ b/src/songvec.h
@@ -15,8 +15,6 @@ int songvec_delete(struct songvec *sv, const struct mpd_song *del);
void songvec_add(struct songvec *sv, struct mpd_song *add);
-void songvec_destroy(struct songvec *sv);
-
int songvec_for_each(const struct songvec *sv,
int (*fn)(struct mpd_song *, void *), void *arg);