From 374357302a3d2deb591b2d7a4bbfb858ea8b9b33 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 25 Jun 2025 08:20:35 -0400 Subject: [PATCH] MT#62571 remove redundant decls Change-Id: I281b01aafb28db98daef56fcc302c12971cf0d60 --- recording-daemon/types.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/recording-daemon/types.h b/recording-daemon/types.h index 54d3c66a8..159ecce19 100644 --- a/recording-daemon/types.h +++ b/recording-daemon/types.h @@ -11,7 +11,6 @@ #include #include #include -#include #include "str.h" #include "codeclib.h" #include "poller.h" @@ -26,16 +25,14 @@ struct rtp_header; struct streambuf; -struct handler_s; typedef struct handler_s handler_t; -struct metafile_s; typedef struct metafile_s metafile_t; -struct output_s; typedef struct output_s output_t; -struct mix_s; typedef struct mix_s mix_t; -struct decode_s; typedef struct decode_s decode_t; +typedef struct packet_s packet_t; +typedef struct stream_s stream_t; +typedef struct ssrc_s ssrc_t; typedef void handler_func(handler_t *); @@ -60,7 +57,6 @@ struct stream_s { unsigned int media_sdp_id; unsigned int channel_slot; }; -typedef struct stream_s stream_t; struct packet_s { @@ -74,7 +70,6 @@ struct packet_s { str payload; }; -typedef struct packet_s packet_t; struct ssrc_s { @@ -92,14 +87,12 @@ struct ssrc_s { socket_t tls_fwd_sock; uint64_t tls_in_pts; AVFrame *tls_silence_frame; - //BIO *bio; SSL_CTX *ssl_ctx; SSL *ssl; struct streambuf *tls_fwd_stream; struct poller tls_fwd_poller; unsigned int sent_intro:1; }; -typedef struct ssrc_s ssrc_t; struct tag_s {