freeswitch/libs/srtp/crypto/cipher
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
..
aes.c srtp msvc updates and cleanup 2006-04-07 16:34:02 +00:00
aes_cbc.c add srtp 2006-04-07 16:10:03 +00:00
aes_icm.c Fix inline functions when compiling as C99. 2014-02-09 22:34:05 +00:00
cipher.c up the msvc warning level on srtp 2006-10-19 06:29:49 +00:00
null_cipher.c up the msvc warning level on srtp 2006-10-19 06:29:49 +00:00