aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-29 14:48:39 +0200
committerEric Wong <normalperson@yhbt.net>2008-09-02 00:20:22 -0700
commitb8eca08893a5738d732355cd581bcfc26c4812ea (patch)
tree0e64fec62c35aeab073490dbe6f816b14396cafb /src/tag.h
parent7f04d26b6fcfe8c7fcc23c5accddda02ea36c507 (diff)
downloadmpd-b8eca08893a5738d732355cd581bcfc26c4812ea.tar.gz
mpd-b8eca08893a5738d732355cd581bcfc26c4812ea.tar.xz
mpd-b8eca08893a5738d732355cd581bcfc26c4812ea.zip
const pointers
Yet another patch which converts pointer arguments to "const".
Diffstat (limited to '')
-rw-r--r--src/tag.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tag.h b/src/tag.h
index 44c680a98..a05f7654a 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -51,7 +51,7 @@ struct mpd_tag {
mpd_uint8 numOfItems;
};
-struct mpd_tag *tag_ape_load(char *file);
+struct mpd_tag *tag_ape_load(const char *file);
struct mpd_tag *tag_new(void);
@@ -86,10 +86,10 @@ static inline void tag_add_item(struct mpd_tag *tag, enum tag_type itemType,
void tag_print_types(int fd);
-void tag_print(int fd, struct mpd_tag *tag);
+void tag_print(int fd, const struct mpd_tag *tag);
-struct mpd_tag *tag_dup(struct mpd_tag *tag);
+struct mpd_tag *tag_dup(const struct mpd_tag *tag);
-int tag_equal(struct mpd_tag *tag1, struct mpd_tag *tag2);
+int tag_equal(const struct mpd_tag *tag1, const struct mpd_tag *tag2);
#endif