diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 14:48:39 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-29 14:48:39 +0200 |
commit | 37d77caa3c262c99ce3697224c1423e293d420ee (patch) | |
tree | ff9cc102a1164024b71fe3e97b3c546a24078db3 /src/tag.h | |
parent | 5bd5551630c55344a11f99565d3c53acb32c0e44 (diff) | |
download | mpd-37d77caa3c262c99ce3697224c1423e293d420ee.tar.gz mpd-37d77caa3c262c99ce3697224c1423e293d420ee.tar.xz mpd-37d77caa3c262c99ce3697224c1423e293d420ee.zip |
const pointers
Yet another patch which converts pointer arguments to "const".
Diffstat (limited to 'src/tag.h')
-rw-r--r-- | src/tag.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -51,7 +51,7 @@ struct tag { mpd_uint8 numOfItems; }; -struct tag *tag_ape_load(char *file); +struct tag *tag_ape_load(const char *file); struct tag *tag_new(void); @@ -86,10 +86,10 @@ static inline void tag_add_item(struct tag *tag, enum tag_type itemType, void tag_print_types(int fd); -void tag_print(int fd, struct tag *tag); +void tag_print(int fd, const struct tag *tag); -struct tag *tag_dup(struct tag *tag); +struct tag *tag_dup(const struct tag *tag); -int tag_equal(struct tag *tag1, struct tag *tag2); +int tag_equal(const struct tag *tag1, const struct tag *tag2); #endif |