diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-06-09 23:13:52 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-06-09 23:13:52 +0000 |
commit | 3e41331bf3857efcfa29c6548e183f3b0fc12ee0 (patch) | |
tree | 4968a4b2f056d12396eee925887a81f9f33224ca /codecs/lpc10 | |
parent | 8ef5092031c33f7200e5e03a23add53a771ea70e (diff) |
get rid of some more compiler warnings (thanks tholo for making me fix the lpc10 stuff... that had been a problem for far too long)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/lpc10')
-rw-r--r-- | codecs/lpc10/lpc10.h | 2 | ||||
-rw-r--r-- | codecs/lpc10/lpcini.c | 14 |
2 files changed, 9 insertions, 7 deletions
diff --git a/codecs/lpc10/lpc10.h b/codecs/lpc10/lpc10.h index db7c25ad9..a57f84f3f 100644 --- a/codecs/lpc10/lpc10.h +++ b/codecs/lpc10/lpc10.h @@ -31,6 +31,8 @@ Add broken lpc10 code... It's not too far from working I don't think... #ifndef __LPC10_H__ #define __LPC10_H__ +#define P_R_O_T_O_T_Y_P_E_S + #define LPC10_SAMPLES_PER_FRAME 180 #define LPC10_BITS_IN_COMPRESSED_FRAME 54 diff --git a/codecs/lpc10/lpcini.c b/codecs/lpc10/lpcini.c index 12880466f..b8dba94f5 100644 --- a/codecs/lpc10/lpcini.c +++ b/codecs/lpc10/lpcini.c @@ -29,13 +29,6 @@ Some OSS fixes and a few lpc changes to make it actually work */ -#ifdef P_R_O_T_O_T_Y_P_E_S -extern int lpcini_(void); -/* comlen contrl_ 12 */ -/*:ref: initlpcenc_ 14 0 */ -/*:ref: initlpcdec_ 14 0 */ -#endif - /* -- translated by f2c (version 19951025). You must link the resulting object file with the libraries: -lf2c -lm (in that order) @@ -44,6 +37,13 @@ extern int lpcini_(void); #include <stdlib.h> #include "f2c.h" +#ifdef P_R_O_T_O_T_Y_P_E_S +extern int lpcini_(void); +/* comlen contrl_ 12 */ +/*:ref: initlpcenc_ 14 0 */ +/*:ref: initlpcdec_ 14 0 */ +#endif + /* Common Block Declarations */ struct { |