Declare _q65_mask() as static when first declared, in q65.h. Add qracodes.o to Makefile.Win.

This commit is contained in:
Joe Taylor 2020-10-25 21:29:44 -04:00
parent 1f06fd65fc
commit 5d352d3068
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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
#endif // _qra65_h