diff options
Diffstat (limited to '')
-rw-r--r-- | src/songvec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/songvec.c b/src/songvec.c index 842e7afcd..579ac7033 100644 --- a/src/songvec.c +++ b/src/songvec.c @@ -30,7 +30,7 @@ Song *songvec_find(struct songvec *sv, const char *url) return NULL; } -int songvec_delete(struct songvec *sv, Song *del) +int songvec_delete(struct songvec *sv, const Song *del) { int i; @@ -59,7 +59,7 @@ void songvec_add(struct songvec *sv, Song *add) sv->base[sv->nr - 1] = add; } -void songvec_free(struct songvec *sv) +void songvec_destroy(struct songvec *sv) { if (sv->base) { free(sv->base); |