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/tag.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/tag.h') diff --git a/src/tag.h b/src/tag.h index 1b76e7cb4..073c38238 100644 --- a/src/tag.h +++ b/src/tag.h @@ -44,28 +44,28 @@ #define TAG_NUM_OF_ITEM_TYPES 11 -extern char * mpdTagItemKeys[]; +extern char *mpdTagItemKeys[]; typedef struct _MpdTagItem { mpd_sint8 type; - char * value; + char *value; } MpdTagItem; typedef struct _MpdTag { int time; - MpdTagItem * items; + MpdTagItem *items; mpd_uint8 numOfItems; } MpdTag; #ifdef HAVE_ID3TAG -MpdTag * parseId3Tag(struct id3_tag *); +MpdTag *parseId3Tag(struct id3_tag *); #endif -MpdTag * apeDup(char * file); +MpdTag *apeDup(char *file); -MpdTag * id3Dup(char * file); +MpdTag *id3Dup(char *file); -MpdTag * newMpdTag(); +MpdTag *newMpdTag(); void initTagConfig(); @@ -73,14 +73,14 @@ void clearItemsFromMpdTag(MpdTag * tag, int itemType); void freeMpdTag(MpdTag * tag); -void addItemToMpdTagWithLen(MpdTag * tag, int itemType, char * value, int len); +void addItemToMpdTagWithLen(MpdTag * tag, int itemType, char *value, int len); #define addItemToMpdTag(tag, itemType, value) \ addItemToMpdTagWithLen(tag, itemType, value, strlen(value)) void printMpdTag(FILE * fp, MpdTag * tag); -MpdTag * mpdTagDup(MpdTag * tag); +MpdTag *mpdTagDup(MpdTag * tag); int mpdTagsAreEqual(MpdTag * tag1, MpdTag * tag2); -- cgit v1.2.3