summaryrefslogtreecommitdiffstats
path: root/src/ccitt-adpcm
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2010-02-18 07:06:58 +0100
committerPatrick McHardy <kaber@trash.net>2010-02-18 07:51:14 +0100
commit37d31a6e42b23b7c315ecbaa1bf5aa9806e60866 (patch)
tree8e42b1e24eed7f5755cd6d4f6e771ea13be52d10 /src/ccitt-adpcm
parent09f26e091bf747a2cfad4e90d098d5b4f2132f21 (diff)
annotate exported symbols and hide everything else
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/ccitt-adpcm')
-rw-r--r--src/ccitt-adpcm/g721.c3
-rw-r--r--src/ccitt-adpcm/g72x.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ccitt-adpcm/g721.c b/src/ccitt-adpcm/g721.c
index 445f177..de86dfc 100644
--- a/src/ccitt-adpcm/g721.c
+++ b/src/ccitt-adpcm/g721.c
@@ -48,6 +48,7 @@
* the name of the module which it is implementing.
*
*/
+#include <utils.h>
#include "g72x.h"
static short qtab_721[7] = {-124, 80, 178, 246, 300, 349, 400};
@@ -122,6 +123,7 @@ g721_encoder(
return (i);
}
+EXPORT_SYMBOL(g721_encoder);
/*
* g721_decoder()
@@ -171,3 +173,4 @@ g721_decoder(
return (-1);
}
}
+EXPORT_SYMBOL(g721_decoder);
diff --git a/src/ccitt-adpcm/g72x.c b/src/ccitt-adpcm/g72x.c
index ca17c35..e251b45 100644
--- a/src/ccitt-adpcm/g72x.c
+++ b/src/ccitt-adpcm/g72x.c
@@ -31,6 +31,7 @@
*/
#include <stdlib.h>
+#include <utils.h>
#include "g72x.h"
static short power2[15] = {1, 2, 4, 8, 0x10, 0x20, 0x40, 0x80,
@@ -115,6 +116,7 @@ g72x_init_state(
}
state_ptr->td = 0;
}
+EXPORT_SYMBOL(g72x_init_state);
/*
* predictor_zero()