freeswitch/libs/srtp/crypto/math
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
..
datatypes.c Fix inline functions when compiling as C99. 2014-02-09 22:34:05 +00:00
gf2_8.c Fix inline functions when compiling as C99. 2014-02-09 22:34:05 +00:00
math.c Fix inline functions when compiling as C99. 2014-02-09 22:34:05 +00:00
stat.c up the msvc warning level on srtp 2006-10-19 06:29:49 +00:00