changeset 35122:ccf5f4e1e87c

Make two functions static.
author reimar
date Wed, 26 Sep 2012 20:05:00 +0000
parents 7dbe7168cf49
children bf46a9b2abda
files sub/ass_mp.c sub/ass_mp.h
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/sub/ass_mp.c	Wed Sep 26 17:02:47 2012 +0000
+++ b/sub/ass_mp.c	Wed Sep 26 20:05:00 2012 +0000
@@ -257,7 +257,7 @@
 	return track;
 }
 
-void ass_configure(ASS_Renderer* priv, int w, int h, int unscaled) {
+static void ass_configure(ASS_Renderer* priv, int w, int h, int unscaled) {
 	int hinting;
 	ass_set_frame_size(priv, w, h);
 	ass_set_margins(priv, ass_top_margin, ass_bottom_margin, 0, 0);
@@ -271,7 +271,7 @@
 	ass_set_line_spacing(priv, ass_line_spacing);
 }
 
-void ass_configure_fonts(ASS_Renderer* priv) {
+static void ass_configure_fonts(ASS_Renderer* priv) {
 	char *dir, *path, *family;
 	dir = get_path("fonts");
 	if (font_fontconfig < 0 && sub_font_name) path = strdup(sub_font_name);
--- a/sub/ass_mp.h	Wed Sep 26 17:02:47 2012 +0000
+++ b/sub/ass_mp.h	Wed Sep 26 20:05:00 2012 +0000
@@ -50,8 +50,6 @@
 ASS_Track* ass_read_subdata(ASS_Library* library, sub_data* subdata, double fps);
 ASS_Track* ass_read_stream(ASS_Library* library, const char *fname, char *charset);
 
-void ass_configure(ASS_Renderer* priv, int w, int h, int hinting);
-void ass_configure_fonts(ASS_Renderer* priv);
 void ass_mp_reset_config(ASS_Library *l);
 ASS_Library* ass_init(void);