From 120800f8fa478d75ad9f94d91dae775386c6b0d5 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Fri, 25 Nov 2011 13:02:00 -0800 Subject: Rename '_FOO' to avoid potentional collisions with reserved identifiers. C reserves identifiers of the from _[A-Z]+ and we have a number of those in the code. This patch renames the various function arguments, MACROS and preprocessor symbols to avoid the reserved form. It also removes the CHANNELS() macro altogether. This was a minor optimization for TI DSP to force a mono-only build, as were the associated local 'const' versions. Since stereo support is manditory, it wasn't worth keeping. Thanks to John Ridges for raising the issue, and Jean-Marc Valin and Greg Maxwell for reviewing the changes. --- src/opus_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/opus_private.h b/src/opus_private.h index b3537052..c79e4b39 100644 --- a/src/opus_private.h +++ b/src/opus_private.h @@ -83,4 +83,4 @@ static inline int align(int i) int opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int end, unsigned char *data, int maxlen, int self_delimited); -#endif /* OPUS_PRIVATE_H_ */ +#endif /* OPUS_PRIVATE_H */ -- cgit v1.2.1