changeset 578:7756b23b78cd

libgsmhr1 avgGsHistQntz: make the history table argument const
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 Feb 2025 03:08:35 +0000
parents d68b2c92464a
children 1dc5d9320e96
files libgsmhr1/dtx_rxfe.c libgsmhr1/dtx_rxfe.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libgsmhr1/dtx_rxfe.c	Thu Feb 13 03:06:11 2025 +0000
+++ b/libgsmhr1/dtx_rxfe.c	Thu Feb 13 03:08:35 2025 +0000
@@ -95,7 +95,7 @@
  *
  *************************************************************************/
 
-void avgGsHistQntz(Longword pL_GsHistory[], Longword *pL_GsAvgd)
+void avgGsHistQntz(const Longword pL_GsHistory[], Longword *pL_GsAvgd)
 {
 
 /*_________________________________________________________________________
--- a/libgsmhr1/dtx_rxfe.h	Thu Feb 13 03:06:11 2025 +0000
+++ b/libgsmhr1/dtx_rxfe.h	Thu Feb 13 03:08:35 2025 +0000
@@ -11,7 +11,7 @@
 
 extern const LongwordRom ppLr_gsTable[4][32];
 
-void avgGsHistQntz(Longword pL_GsHistory[], Longword *pL_GsAvgd);
+void avgGsHistQntz(const Longword pL_GsHistory[], Longword *pL_GsAvgd);
 Shortword gsQuant(Longword L_GsIn, Shortword swVoicingMode);
 Shortword getPnBits(int iBits, Longword *L_PnSeed);