Hide private symbols (#3756)

This commit is contained in:
Gregor Jasny 2023-11-03 05:14:36 +01:00 committed by GitHub
parent 58a101c945
commit cf4f2d84dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 11 deletions

View File

@ -20,7 +20,7 @@
/* Redirect libsrtp error to PJ_LOG */ /* Redirect libsrtp error to PJ_LOG */
srtp_err_reporting_level_t err_level = srtp_err_level_error; static srtp_err_reporting_level_t err_level = srtp_err_level_error;
void srtp_err_report(srtp_err_reporting_level_t priority, const char *format, ...) void srtp_err_report(srtp_err_reporting_level_t priority, const char *format, ...)
{ {

View File

@ -4639,11 +4639,11 @@ unsigned int srtp_profile_get_master_salt_length(srtp_profile_t profile)
} }
} }
srtp_err_status_t stream_get_protect_trailer_length(srtp_stream_ctx_t *stream, static srtp_err_status_t stream_get_protect_trailer_length(srtp_stream_ctx_t *stream,
uint32_t is_rtp, uint32_t is_rtp,
uint32_t use_mki, uint32_t use_mki,
uint32_t mki_index, uint32_t mki_index,
uint32_t *length) uint32_t *length)
{ {
srtp_session_keys_t *session_key; srtp_session_keys_t *session_key;
@ -4696,11 +4696,11 @@ static int get_protect_trailer_length_cb(srtp_stream_t stream, void *raw_data)
return 0; return 0;
} }
srtp_err_status_t get_protect_trailer_length(srtp_t session, static srtp_err_status_t get_protect_trailer_length(srtp_t session,
uint32_t is_rtp, uint32_t is_rtp,
uint32_t use_mki, uint32_t use_mki,
uint32_t mki_index, uint32_t mki_index,
uint32_t *length) uint32_t *length)
{ {
srtp_stream_ctx_t *stream; srtp_stream_ctx_t *stream;
struct get_protect_trailer_length_data data = { 0, 0, is_rtp, use_mki, struct get_protect_trailer_length_data data = { 0, 0, is_rtp, use_mki,