Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2376)

Unified Diff: crypto/include/alloc.h

Issue 2344973002: Update libsrtp to version 2.0 (Closed)
Patch Set: Add '.' back to include_dirs Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crypto/include/aes_icm_ossl.h ('k') | crypto/include/auth.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/include/alloc.h
diff --git a/srtp/crypto/include/alloc.h b/crypto/include/alloc.h
similarity index 92%
copy from srtp/crypto/include/alloc.h
copy to crypto/include/alloc.h
index 5980eed6c13c6be2c43be308cc3e9d8a81676386..ebe3755f09c521d788cbc3db49837dd43f6ebd7e 100644
--- a/srtp/crypto/include/alloc.h
+++ b/crypto/include/alloc.h
@@ -48,10 +48,16 @@
#include "datatypes.h"
-void *
-crypto_alloc(size_t size);
+#ifdef __cplusplus
+extern "C" {
+#endif
-void
-crypto_free(void *ptr);
+void * srtp_crypto_alloc(size_t size);
+
+void srtp_crypto_free(void *ptr);
+
+#ifdef __cplusplus
+}
+#endif
#endif /* CRYPTO_ALLOC_H */
« no previous file with comments | « crypto/include/aes_icm_ossl.h ('k') | crypto/include/auth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698