summaryrefslogtreecommitdiffstats
path: root/Modules/audioop.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-17 16:13:48 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-17 16:13:48 (GMT)
commitcd938fc5a1ba4a61959460787eb549ff989ca6b0 (patch)
treebdacb1f3ba568d3095e414dc4d02732a02c7c9c3 /Modules/audioop.c
parent78c0535a224697e1c7a1a4e68462d3d204e38942 (diff)
downloadcpython-cd938fc5a1ba4a61959460787eb549ff989ca6b0.zip
cpython-cd938fc5a1ba4a61959460787eb549ff989ca6b0.tar.gz
cpython-cd938fc5a1ba4a61959460787eb549ff989ca6b0.tar.bz2
Made some more things static, and other cleanup for new naming scheme
Diffstat (limited to 'Modules/audioop.c')
-rw-r--r--Modules/audioop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/audioop.c b/Modules/audioop.c
index 640e816..f866e98 100644
--- a/Modules/audioop.c
+++ b/Modules/audioop.c
@@ -44,7 +44,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define MAXLIN 32767
#define LINCLIP(x) do { if ( x < MINLIN ) x = MINLIN ; else if ( x > MAXLIN ) x = MAXLIN; } while ( 0 )
-unsigned char st_linear_to_ulaw( /* int sample */ );
+static unsigned char st_linear_to_ulaw( /* int sample */ );
/*
** This macro converts from ulaw to 16 bit linear, faster.
@@ -95,7 +95,7 @@ static int ulaw_table[256] = {
#define BIAS 0x84 /* define the add-in bias for 16 bit samples */
#define CLIP 32635
-unsigned char
+static unsigned char
st_linear_to_ulaw( sample )
int sample;
{
@@ -297,7 +297,7 @@ audioop_rms(self, args)
return newintobject(val);
}
-double _sum2(a, b, len)
+static double _sum2(a, b, len)
short *a;
short *b;
int len;