summaryrefslogtreecommitdiffstats
path: root/libass/ass.c
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@dell>2009-07-01 16:22:27 +0200
committerGrigori Goronzy <greg@blackbox>2009-07-01 21:18:34 +0200
commitcbf59032a582b37e50490e3eea0cf3cf8532c418 (patch)
treecdab3bb58ba5362b6faa197e161c2413115e0e0e /libass/ass.c
parent032868aeaaa7616a6a6c71e4db20928ccb41f407 (diff)
downloadlibass-cbf59032a582b37e50490e3eea0cf3cf8532c418.tar.bz2
libass-cbf59032a582b37e50490e3eea0cf3cf8532c418.tar.xz
Remove read_file_recode from API
read_file_recode is only used internally in ass_read_file and shouldn't be exposed in the API. Remove the prototype from ass.h and declare it static.
Diffstat (limited to 'libass/ass.c')
-rw-r--r--libass/ass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass.c b/libass/ass.c
index e6aa4a1..7b90292 100644
--- a/libass/ass.c
+++ b/libass/ass.c
@@ -1089,7 +1089,7 @@ ass_track_t *ass_read_memory(ass_library_t *library, char *buf,
return track;
}
-char *read_file_recode(char *fname, char *codepage, size_t *size)
+static char *read_file_recode(char *fname, char *codepage, size_t *size)
{
char *buf;
size_t bufsize;