Skip to content

Commit

Permalink
Hide private symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
gjasny committed Nov 1, 2023
1 parent 31d5e19 commit a7ff1c7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
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

0 comments on commit a7ff1c7

Please sign in to comment.