From 37d31a6e42b23b7c315ecbaa1bf5aa9806e60866 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Thu, 18 Feb 2010 07:06:58 +0100 Subject: annotate exported symbols and hide everything else Signed-off-by: Patrick McHardy --- src/ccitt-adpcm/g721.c | 3 +++ src/ccitt-adpcm/g72x.c | 2 ++ 2 files changed, 5 insertions(+) (limited to 'src/ccitt-adpcm') 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 #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 +#include #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() -- cgit v1.2.3