# HG changeset patch # User Mychaela Falconia # Date 1734735666 0 # Node ID 8cdfef36d9dbea7cd39042b38cc0b36e7a5248dc # Parent 334d883b96baa551d44b2486d95bec73ea49f46c twrtp_endp_create: make config argument const This argument is passed through to twrtp_jibuf_create(). We made it const in the latter function, now do the same with the wrapper. diff -r 334d883b96ba -r 8cdfef36d9db include/endp.h --- a/include/endp.h Fri Dec 20 22:47:20 2024 +0000 +++ b/include/endp.h Fri Dec 20 23:01:06 2024 +0000 @@ -79,7 +79,7 @@ /* public API functions */ struct twrtp_endp *twrtp_endp_create(void *ctx, - struct twrtp_jibuf_config *config); + const struct twrtp_jibuf_config *config); void twrtp_endp_destroy(struct twrtp_endp *endp); int twrtp_endp_register_fds(struct twrtp_endp *endp); diff -r 334d883b96ba -r 8cdfef36d9db src/endp_create.c --- a/src/endp_create.c Fri Dec 20 22:47:20 2024 +0000 +++ b/src/endp_create.c Fri Dec 20 23:01:06 2024 +0000 @@ -39,7 +39,7 @@ sizeof(struct rtcp_rr_block) * 31) struct twrtp_endp *twrtp_endp_create(void *ctx, - struct twrtp_jibuf_config *config) + const struct twrtp_jibuf_config *config) { struct twrtp_endp *endp;