diff libgsmfr2/full_dec.c @ 533:3a617e4e9b27

libgsmfr2: add const words with struct sizes
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Sep 2024 21:58:10 +0000
parents f3246d109e2d
children
line wrap: on
line diff
--- a/libgsmfr2/full_dec.c	Thu Sep 19 21:00:18 2024 +0000
+++ b/libgsmfr2/full_dec.c	Thu Sep 19 21:58:10 2024 +0000
@@ -19,6 +19,8 @@
 	int	is_homed;
 };
 
+const unsigned gsmfr_fulldec_state_size = sizeof(struct gsmfr_fulldec_state);
+
 struct gsmfr_fulldec_state *gsmfr_fulldec_create(void)
 {
 	struct gsmfr_fulldec_state *st;