freeswitch/libs/srtp/crypto
Jonathan Lennox 50791508b1 Fix inline functions when compiling as C99.
Make private inlines in C files 'static inline', not just 'inline', or the compiler
can discard the definition if it chooses not to inline it.

Make functions declared in header files not be declared inline (if they're defined in a
.c file).  It looks like no functions in this category are used in LibSRTP's critical
path, only for unit tests or generating AES tables.

To see the problem prior to this commit, compile with "gcc -O0 -std=gnu99".

Signed-off-by: Travis Cross <tc@traviscross.com>

This cherry-picks commit e2774dbd551ffe5f872eaec2b2d40b712a54e1ba from
libsrtp upstream.

FS-6196 --resolve
2014-02-09 22:34:05 +00:00
..
ae_xfm srtp msvc updates and cleanup 2006-04-07 16:34:02 +00:00
cipher Fix inline functions when compiling as C99. 2014-02-09 22:34:05 +00:00
hash up the msvc warning level on srtp 2006-10-19 06:29:49 +00:00
include revert previous change that does not correct the issue. opened a bug with apple on this issue https://bugreport.apple.com/problem/viewproblem #15938497 2014-01-29 17:00:41 -05:00
kernel revert previous change that does not correct the issue. opened a bug with apple on this issue https://bugreport.apple.com/problem/viewproblem #15938497 2014-01-29 17:00:41 -05:00
math Fix inline functions when compiling as C99. 2014-02-09 22:34:05 +00:00
replay up the msvc warning level on srtp 2006-10-19 06:29:49 +00:00
rng make definition that should be static static 2007-03-20 05:14:09 +00:00
test srtp msvc updates and cleanup 2006-04-07 16:34:02 +00:00
Makefile.in add srtp 2006-04-07 16:10:03 +00:00
VERSION add srtp 2006-04-07 16:10:03 +00:00