summaryrefslogtreecommitdiff
path: root/controller/fw/src/rslib.h
diff options
context:
space:
mode:
Diffstat (limited to 'controller/fw/src/rslib.h')
-rw-r--r--controller/fw/src/rslib.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/controller/fw/src/rslib.h b/controller/fw/src/rslib.h
index 3ef6d19..bba8bb0 100644
--- a/controller/fw/src/rslib.h
+++ b/controller/fw/src/rslib.h
@@ -1,9 +1,12 @@
#ifndef __RSLIB_H__
#define __RSLIB_H__
+/* parity length configuration */
+#include "rscode-config.h"
+
void rslib_encode(int nbits, size_t msglen, char msg[static msglen], char out[msglen + NPAR]);
int rslib_decode(int nbits, size_t msglen, char msg_inout[static msglen]);
int rslib_gexp(int z, int nbits);
-size_t rslib_npar();
+size_t rslib_npar(void);
#endif /* __RSLIB_H__ */