diff options
author | Max Kellermann <max@duempel.org> | 2008-02-05 10:17:33 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-02-05 10:17:33 +0000 |
commit | 6fbdc721d972d8c1f823acd5473a3dce8836d5fa (patch) | |
tree | e72131541f4e887d5dedd6c75ffce455cbf6b97c /src/utf8.h | |
parent | 22efbd5eca4705426af5cee17a65a3e76c33bec6 (diff) | |
download | mpd-6fbdc721d972d8c1f823acd5473a3dce8836d5fa.tar.gz mpd-6fbdc721d972d8c1f823acd5473a3dce8836d5fa.tar.xz mpd-6fbdc721d972d8c1f823acd5473a3dce8836d5fa.zip |
fix -Wconst warnings
[ew: cleaned up the dirty union hack a bit]
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn-id: https://svn.musicpd.org/mpd/trunk@7180 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/utf8.h')
-rw-r--r-- | src/utf8.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/utf8.h b/src/utf8.h index 05e1a4a31..4a4983064 100644 --- a/src/utf8.h +++ b/src/utf8.h @@ -19,15 +19,15 @@ #ifndef UTF_8_H #define UTF_8_H -char *latin1StrToUtf8Dup(char *latin1); +char *latin1StrToUtf8Dup(const char *latin1); -char *utf8StrToLatin1Dup(char *utf8); +char *utf8StrToLatin1Dup(const char *utf8); -int validUtf8String(char *string); +int validUtf8String(const char *string); -char *utf8_to_latin1(char *dest, char *utf8); +char *utf8_to_latin1(char *dest, const char *utf8); -char *latin1_to_utf8(char *dest, char *utf8); +char *latin1_to_utf8(char *dest, const char *utf8); #endif |