From 29a25b9933b32800f58dd73d5d1fc21993071c92 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Thu, 20 Jul 2006 16:02:40 +0000 Subject: Add mpd-indent.sh Indent the entire tree, hopefully we can keep it indented. git-svn-id: https://svn.musicpd.org/mpd/trunk@4410 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/song.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/song.h') diff --git a/src/song.h b/src/song.h index 36e3748b5..104ad1686 100644 --- a/src/song.h +++ b/src/song.h @@ -34,29 +34,29 @@ #define SONG_TYPE_URL 2 typedef struct _Song { - char * url; + char *url; mpd_sint8 type; - MpdTag * tag; - struct _Directory * parentDir; + MpdTag *tag; + struct _Directory *parentDir; time_t mtime; } Song; typedef List SongList; -Song * newNullSong(); +Song *newNullSong(); -Song * newSong(char * url, int songType, struct _Directory * parentDir); +Song *newSong(char *url, int songType, struct _Directory *parentDir); void freeSong(Song *); void freeJustSong(Song *); -SongList * newSongList(); +SongList *newSongList(); void freeSongList(SongList * list); -Song * addSongToList(SongList * list, char * url, char * utf8path, - int songType, struct _Directory * parentDir); +Song *addSongToList(SongList * list, char *url, char *utf8path, + int songType, struct _Directory *parentDir); int printSongInfo(FILE * fp, Song * song); @@ -64,13 +64,13 @@ int printSongInfoFromList(FILE * fp, SongList * list); void writeSongInfoFromList(FILE * fp, SongList * list); -void readSongInfoIntoList(FILE * fp, SongList * list, - struct _Directory * parent); +void readSongInfoIntoList(FILE * fp, SongList * list, + struct _Directory *parent); int updateSongInfo(Song * song); void printSongUrl(FILE * fp, Song * song); -char * getSongUrl(Song * song); +char *getSongUrl(Song * song); #endif -- cgit v1.2.3