# HG changeset patch # User reimar # Date 1100946772 0 # Node ID dcb6b4a33aaaa5ab3905cb952b07b28331de6949 # Parent 8ca30ef4e093de8282d8ac86586a653963e3db7f declare check_format and check_bps static, they are used nowhere else. diff -r 8ca30ef4e093 -r dcb6b4a33aaa libaf/af_format.c --- a/libaf/af_format.c Fri Nov 19 23:05:56 2004 +0000 +++ b/libaf/af_format.c Sat Nov 20 10:32:52 2004 +0000 @@ -130,7 +130,7 @@ // 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 @@ } // Check for unsupported formats -int check_format(int format) +static int check_format(int format) { char buf[256]; switch(format & AF_FORMAT_SPECIAL_MASK){