From a5f8bb82300d08568180482c93e8b9a067cc715d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 5 Oct 2008 20:54:11 -0700 Subject: song: replace printSong* with song_print_* This make argument order more consistent for iterators. Additionally, these now return ssize_t results for error checking. --- src/song.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/song.h') diff --git a/src/song.h b/src/song.h index 377a78814..3419cd43e 100644 --- a/src/song.h +++ b/src/song.h @@ -46,13 +46,13 @@ void freeSong(Song *); void freeJustSong(Song *); -int printSongInfo(int fd, Song * song); +ssize_t song_print_info(Song * song, int fd); void readSongInfoIntoList(FILE * fp, struct _Directory *parent); int updateSongInfo(Song * song); -void printSongUrl(int fd, Song * song); +ssize_t song_print_url(Song * song, int fd); /* * get_song_url - Returns a path of a song in UTF8-encoded form -- cgit v1.2.3