Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide private symbols #3756

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion third_party/srtp/pjlib/srtp_err.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

/* 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, ...)
{
Expand Down
20 changes: 10 additions & 10 deletions third_party/srtp/srtp/srtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
uint32_t is_rtp,
uint32_t use_mki,
uint32_t mki_index,
uint32_t *length)
static srtp_err_status_t stream_get_protect_trailer_length(srtp_stream_ctx_t *stream,
uint32_t is_rtp,
uint32_t use_mki,
uint32_t mki_index,
uint32_t *length)
{
srtp_session_keys_t *session_key;

Expand Down Expand Up @@ -4696,11 +4696,11 @@ static int get_protect_trailer_length_cb(srtp_stream_t stream, void *raw_data)
return 0;
}

srtp_err_status_t get_protect_trailer_length(srtp_t session,
uint32_t is_rtp,
uint32_t use_mki,
uint32_t mki_index,
uint32_t *length)
static srtp_err_status_t get_protect_trailer_length(srtp_t session,
uint32_t is_rtp,
uint32_t use_mki,
uint32_t mki_index,
uint32_t *length)
{
srtp_stream_ctx_t *stream;
struct get_protect_trailer_length_data data = { 0, 0, is_rtp, use_mki,
Expand Down