summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2013-09-05 02:15:19 +0000
committerLiong Sauw Ming <ming@teluu.com>2013-09-05 02:15:19 +0000
commit64df0b84d27aeceeeadea8b44ba8064fa7aa74b5 (patch)
tree70eb042692fc1646a2185e3e67926ad2ac3c76a6 /third_party
parentbbac274bdc7f33d5025aede241d74262438b12b5 (diff)
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
Diffstat (limited to 'third_party')
-rw-r--r--third_party/srtp/crypto/cipher/aes_icm.c2
-rw-r--r--third_party/srtp/crypto/math/datatypes.c2
2 files changed, 2 insertions, 2 deletions
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;