diff options
author | Gregory Maxwell <greg@xiph.org> | 2012-05-23 09:52:39 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-05-23 18:28:36 +0400 |
commit | e052947f18a9b2e30ba1ef4db56a08aba8688bc2 (patch) | |
tree | c6516d3709e42872d770a8fd7b89ecd68cc3fd4b /silk/SigProc_FIX.h | |
parent | b6512b444db0ff1405b5054a89b62dcbf083a3bc (diff) |
Use 'frame' instead of 'signal', take out stdlib.h in silk/.
On MacOS, stdlib.h ends up including sys/signal.h, generating
warnings about the local variables called 'signal' shadowing
the global symbol signal(3).
This was originally done in 86476906 but it missed some use
of 'signal' in prototypes in headers where it didn't cause
warnings. Later the prototypes were moved around and the
warnings came back.
This also cleans up some cases in where stdlib.h was used
but shouldn't be required.
Diffstat (limited to 'silk/SigProc_FIX.h')
-rw-r--r-- | silk/SigProc_FIX.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/silk/SigProc_FIX.h b/silk/SigProc_FIX.h index ab9c3609..72ec26a6 100644 --- a/silk/SigProc_FIX.h +++ b/silk/SigProc_FIX.h @@ -37,7 +37,6 @@ extern "C" #define SILK_MAX_ORDER_LPC 16 /* max order of the LPC analysis in schur() and k2a() */ -#include <stdlib.h> /* for abs() */ #include <string.h> /* for memset(), memcpy(), memmove() */ #include "typedef.h" #include "resampler_structs.h" |