From b74edb423dd36e6da605d656515e608f4600bda6 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 20 Nov 2004 10:32:52 +0000 Subject: declare check_format and check_bps static, they are used nowhere else. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13990 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libaf/af_format.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libaf/af_format.c') diff --git a/libaf/af_format.c b/libaf/af_format.c index a908ed0862..8ad80046f9 100644 --- a/libaf/af_format.c +++ b/libaf/af_format.c @@ -130,7 +130,7 @@ char* fmt2str(int format, char* str, size_t size) // Helper functions to check sanity for input arguments // Sanity check for bytes per sample -int check_bps(int bps) +static int check_bps(int bps) { if(bps != 4 && bps != 3 && bps != 2 && bps != 1){ af_msg(AF_MSG_ERROR,"[format] The number of bytes per sample" @@ -141,7 +141,7 @@ int check_bps(int bps) } // Check for unsupported formats -int check_format(int format) +static int check_format(int format) { char buf[256]; switch(format & AF_FORMAT_SPECIAL_MASK){ -- cgit v1.2.3