[vlc-commits] Remove excessive const

Rémi Denis-Courmont git at videolan.org
Mon Mar 19 22:06:42 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar 19 23:05:41 2012 +0200| [09814f3e8b8d753fcbba33e7242ec86379cbc1a1] | committer: Rémi Denis-Courmont

Remove excessive const

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=09814f3e8b8d753fcbba33e7242ec86379cbc1a1
---

 include/vlc_charset.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vlc_charset.h b/include/vlc_charset.h
index 013c2f5..42293fe 100644
--- a/include/vlc_charset.h
+++ b/include/vlc_charset.h
@@ -57,13 +57,13 @@ VLC_API void * ToCharset( const char *charset, const char *in, size_t *outsize )
 
 #else
 VLC_USED
-static inline const char *FromLocale (const char *locale)
+static inline char *FromLocale (const char *locale)
 {
     return locale ? FromCharset ("", locale, strlen (locale)) : NULL;
 }
 
 VLC_USED
-static inline const char *ToLocale (const char *utf8)
+static inline char *ToLocale (const char *utf8)
 {
     size_t outsize;
     return utf8 ? (char *)ToCharset ("", utf8, &outsize) : (char *)NULL;



More information about the vlc-commits mailing list