aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-30 16:49:02 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-30 16:49:02 +0000
commit5cb4e461fd31f7b0c850cae76d64de23d08722f3 (patch)
tree144230cf7fe8fb0d8c7ff6c8b107f34f4cc50e60 /codecs
parent5cb631dcffe2c33f5499acedfa5abe08d05f1d0c (diff)
fix a few small things found by using sparse
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152809 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-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);
}