diff libgsmfr2/pp_state.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 573afa985df6
children
line wrap: on
line diff
--- a/libgsmfr2/pp_state.c	Thu Sep 19 21:00:18 2024 +0000
+++ b/libgsmfr2/pp_state.c	Thu Sep 19 21:58:10 2024 +0000
@@ -9,6 +9,8 @@
 #include "tw_gsmfr.h"
 #include "pp_state.h"
 
+const unsigned gsmfr_preproc_state_size = sizeof(struct gsmfr_preproc_state);
+
 struct gsmfr_preproc_state *gsmfr_preproc_create(void)
 {
 	struct gsmfr_preproc_state *st;