aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-07-05 05:51:15 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-07-05 05:51:15 +0800
commit6a713299b3c5c4fb0adea7d1f978401abb5eb711 (patch)
tree2064aec801d1ae9cafe9ece4ef98f5567cdf1118
parent7e8b9508915696a2989e7ea73990ea7ede930e9d (diff)
downloadtangerine-mcl-6a713299b3c5c4fb0adea7d1f978401abb5eb711.tar.gz
tangerine-mcl-6a713299b3c5c4fb0adea7d1f978401abb5eb711.tar.zst
tangerine-mcl-6a713299b3c5c4fb0adea7d1f978401abb5eb711.zip
remove warning of function declaration
-rw-r--r--include/mcl/bn.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mcl/bn.h b/include/mcl/bn.h
index 2097785..2fc7331 100644
--- a/include/mcl/bn.h
+++ b/include/mcl/bn.h
@@ -120,16 +120,16 @@ MCLBN_DLL_API int mclBn_init(int curve, int maxUnitSize);
/*
return the num of Unit(=uint64_t) to store Fr
*/
-MCLBN_DLL_API int mclBn_getOpUnitSize();
+MCLBN_DLL_API int mclBn_getOpUnitSize(void);
/*
return bytes for serialized G1(=Fp)
*/
-MCLBN_DLL_API int mclBn_getG1ByteSize();
+MCLBN_DLL_API int mclBn_getG1ByteSize(void);
/*
return bytes for serialized Fr
*/
-MCLBN_DLL_API int mclBn_getFrByteSize();
+MCLBN_DLL_API int mclBn_getFrByteSize(void);
/*
return decimal string of the order of the curve(=the characteristic of Fr)