diff --git a/src/pulsecore/packet.c b/src/pulsecore/packet.c index e275d23c7..2a61d5862 100644 --- a/src/pulsecore/packet.c +++ b/src/pulsecore/packet.c @@ -32,7 +32,7 @@ #define MAX_APPENDED_SIZE 128 -typedef struct pa_packet { +struct pa_packet { PA_REFCNT_DECLARE; enum { PA_PACKET_APPENDED, PA_PACKET_DYNAMIC } type; size_t length; @@ -40,7 +40,7 @@ typedef struct pa_packet { union { uint8_t appended[MAX_APPENDED_SIZE]; } per_type; -} pa_packet; +}; PA_STATIC_FLIST_DECLARE(packets, 0, pa_xfree);