From 5d352d3068a302d0df4e9187f658e99e2f0aeb46 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sun, 25 Oct 2020 21:29:44 -0400 Subject: [PATCH] Declare _q65_mask() as static when first declared, in q65.h. Add qracodes.o to Makefile.Win. --- lib/qra/q65/Makefile.Win | 2 +- lib/qra/q65/q65.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/qra/q65/Makefile.Win b/lib/qra/q65/Makefile.Win index cedf2ef17..99b34d726 100644 --- a/lib/qra/q65/Makefile.Win +++ b/lib/qra/q65/Makefile.Win @@ -16,7 +16,7 @@ CFLAGS = -O2 -Wall -I. -D_WIN32 all: libq65.a q65.exe OBJS1 = normrnd.o npfwht.o pdmath.o qra15_65_64_irr_e23.o \ - q65.o + q65.o qracodes.o libq65.a: $(OBJS1) ar cr libq65.a $(OBJS1) diff --git a/lib/qra/q65/q65.h b/lib/qra/q65/q65.h index 04b5d8365..d36cb608f 100644 --- a/lib/qra/q65/q65.h +++ b/lib/qra/q65/q65.h @@ -96,8 +96,8 @@ int q65_esnodb_fastfading( int _q65_get_message_length(const qracode *pCode); int _q65_get_codeword_length(const qracode *pCode); float _q65_get_code_rate(const qracode *pCode); -void _q65_mask(const qracode *pcode, float *ix, const int *mask, const int *x); +static void _q65_mask(const qracode *pcode, float *ix, const int *mask, const int *x); int _q65_get_alphabet_size(const qracode *pCode); int _q65_get_bits_per_symbol(const qracode *pCode); -#endif // _qra65_h \ No newline at end of file +#endif // _qra65_h