From 64df0b84d27aeceeeadea8b44ba8064fa7aa74b5 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Thu, 5 Sep 2013 02:15:19 +0000 Subject: Closed #1576: Add support for clang compiler. Configure-iphone will now try to use clang as the default git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4588 74dad513-b988-da41-8d7b-12977e46ad98 --- third_party/srtp/crypto/cipher/aes_icm.c | 2 +- third_party/srtp/crypto/math/datatypes.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party') diff --git a/third_party/srtp/crypto/cipher/aes_icm.c b/third_party/srtp/crypto/cipher/aes_icm.c index b466ca9a..e7e8c599 100644 --- a/third_party/srtp/crypto/cipher/aes_icm.c +++ b/third_party/srtp/crypto/cipher/aes_icm.c @@ -283,7 +283,7 @@ aes_icm_set_iv(aes_icm_ctx_t *c, void *iv) { * this is an internal, hopefully inlined function */ -inline void +static inline void aes_icm_advance_ismacryp(aes_icm_ctx_t *c, uint8_t forIsmacryp) { /* fill buffer with new keystream */ v128_copy(&c->keystream_buffer, &c->counter); diff --git a/third_party/srtp/crypto/math/datatypes.c b/third_party/srtp/crypto/math/datatypes.c index 331aed8b..4707522f 100644 --- a/third_party/srtp/crypto/math/datatypes.c +++ b/third_party/srtp/crypto/math/datatypes.c @@ -124,7 +124,7 @@ octet_string_hex_string(const void *s, int length) { return bit_string; } -inline int +static inline int hex_char_to_nibble(uint8_t c) { switch(c) { case ('0'): return 0x0; -- cgit v1.2.3