Skip to content

Commit 0d8b2d7

Browse files
authored
Added a missing typedef for stream list ctx.
So that the actual typedef is introduced instead of a global variable.
1 parent 536a367 commit 0d8b2d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

srtp/srtp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4841,7 +4841,7 @@ srtp_err_status_t srtp_get_stream_roc(srtp_t session,
48414841
#ifndef SRTP_NO_STREAM_LIST
48424842

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

0 commit comments

Comments
 (0)