summaryrefslogtreecommitdiff
path: root/channels/alaw.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-04-27 21:34:27 +0000
committerMark Spencer <markster@digium.com>2003-04-27 21:34:27 +0000
commitf6764f4722191ac669ca8c867679727179a7b32f (patch)
tree4f1a556ee7a811109d8fb9674e218052955e0083 /channels/alaw.h
parent493cba1f8099728e230b84ccf8a5ab09ba0772ba (diff)
More contributed BSD enhancements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/alaw.h')
-rwxr-xr-xchannels/alaw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/alaw.h b/channels/alaw.h
index 3148a9d67..1423e495c 100755
--- a/channels/alaw.h
+++ b/channels/alaw.h
@@ -23,7 +23,7 @@
// table to convert unsigned a-law bytes to signed linear integers
-const int alaw2int[256] = {
+static const int alaw2int[256] = {
-5504,5504,-344,344,-22016,22016,-1376,1376,-2752,2752,-88,88,-11008,11008,
-688,688,-7552,7552,-472,472,-30208,30208,-1888,1888,-3776,3776,-216,216,
-15104,15104,-944,944,-4480,4480,-280,280,-17920,17920,-1120,1120,-2240,2240,
@@ -50,7 +50,7 @@ const int alaw2int[256] = {
// shift the integer to be 12+1 bit first, then add 4096 to get
// the right index
-const unsigned char int2alaw[8192] = {
+static const unsigned char int2alaw[8192] = {
84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,
84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,
84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,84,