Code

screen_search.c: Fix typo and tweak spacing of search help.
[ncmpc.git] / src / song.h
index e618a47de930943f01ad0937489bdce18874c6dc..e3ad7e95955bb01a1d0cc40fb991df1b79521599 100644 (file)
@@ -41,7 +41,7 @@
 /* mpd_Song
  * for storing song info returned by mpd
  */
-typedef struct _mpd_Song {
+typedef struct mpd_song {
        /* filename of song */
        char * file;
        /* artist, maybe NULL if there is no tag */
@@ -85,17 +85,17 @@ typedef struct _mpd_Song {
  * use mpd_freeSong to free the memory for the mpd_Song, it will also
  * free memory for file, artist, etc, so don't do it yourself
  */
-mpd_Song * mpd_newSong(void);
+struct mpd_song *mpd_newSong(void);
 
 /* mpd_freeSong
  * use to free memory allocated by mpd_newSong
  * also it will free memory pointed to by file, artist, etc, so be careful
  */
-void mpd_freeSong(mpd_Song * song);
+void mpd_freeSong(struct mpd_song *song);
 
 /* mpd_songDup
  * works like strDup, but for a mpd_Song
  */
-mpd_Song * mpd_songDup(const mpd_Song * song);
+struct mpd_song *mpd_songDup(const struct mpd_song *song);
 
 #endif