summaryrefslogtreecommitdiff
path: root/codecs/lpc10
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-10-30 16:49:02 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-10-30 16:49:02 +0000
commit10d36d9f340dbc3756749c011ed26b1cf172c30b (patch)
tree144230cf7fe8fb0d8c7ff6c8b107f34f4cc50e60 /codecs/lpc10
parentde90c84b1ae659fcfb9f4b0aeb6dc79f56d9444c (diff)
fix a few small things found by using sparse
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/lpc10')
-rw-r--r--codecs/lpc10/chanwr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/codecs/lpc10/chanwr.c b/codecs/lpc10/chanwr.c
index cefcdd145..b7a9c722e 100644
--- a/codecs/lpc10/chanwr.c
+++ b/codecs/lpc10/chanwr.c
@@ -29,6 +29,7 @@ Some OSS fixes and a few lpc changes to make it actually work
-lf2c -lm (in that order)
*/
+#include <stdlib.h>
#include "f2c.h"
/* *********************************************************************** */
@@ -228,5 +229,5 @@ L_chanrd:
/* Subroutine */ int chanrd_(integer *order, integer *ipitv, integer *irms,
integer *irc, integer *ibits)
{
- return chanwr_0_(1, order, ipitv, irms, irc, ibits, 0);
+ return chanwr_0_(1, order, ipitv, irms, irc, ibits, NULL);
}