Make utf8_get_char non-static.
author |
eugeni |
date |
Fri, 07 Jul 2006 18:04:56 +0000 |
parents |
a3788ff5d0b6 |
children |
b80b0c115a24 |
files |
libvo/sub.c libvo/sub.h |
diffstat |
2 files changed, 3 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/libvo/sub.c Fri Jul 07 18:02:49 2006 +0000
+++ b/libvo/sub.c Fri Jul 07 18:04:56 2006 +0000
@@ -140,7 +140,7 @@
}
}
-static unsigned utf8_get_char(char **str) {
+unsigned utf8_get_char(char **str) {
uint8_t *strp = (uint8_t *)*str;
unsigned c = *strp++;
unsigned mask = 0x80;
--- a/libvo/sub.h Fri Jul 07 18:02:49 2006 +0000
+++ b/libvo/sub.h Fri Jul 07 18:04:56 2006 +0000
@@ -121,5 +121,7 @@
extern int vo_osd_changed_flag;
+unsigned utf8_get_char(char **str);
+
#endif
#endif