Skip to content

Commit

Permalink
Added a missing typedef for stream list ctx.
Browse files Browse the repository at this point in the history
So that the actual typedef is introduced instead of a global variable.
  • Loading branch information
Lastique authored Feb 28, 2023
1 parent 536a367 commit 0d8b2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtp/srtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -4841,7 +4841,7 @@ srtp_err_status_t srtp_get_stream_roc(srtp_t session,
#ifndef SRTP_NO_STREAM_LIST

/* in the default implementation, we have an intrusive doubly-linked list */
struct srtp_stream_list_ctx_t_ {
typedef struct srtp_stream_list_ctx_t_ {
/* a stub stream that just holds pointers to the beginning and end of the
* list */
srtp_stream_ctx_t data;
Expand Down

0 comments on commit 0d8b2d7

Please sign in to comment.