aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGavin Howard <gavin@yzena.com>2021-07-16 23:48:31 -0600
committerGavin Howard <gavin@yzena.com>2021-07-16 23:50:14 -0600
commitdfd888de6f1103eab3e760edd50bacaee09ca3d6 (patch)
tree2063d5ddae7eeeb426567dd660a468d9331066a4 /include
parentbac45669bebe0b15cb9a36f42a8f3cc8ad50be70 (diff)
downloadplatform_external_bc-dfd888de6f1103eab3e760edd50bacaee09ca3d6.tar.gz
platform_external_bc-dfd888de6f1103eab3e760edd50bacaee09ca3d6.tar.bz2
platform_external_bc-dfd888de6f1103eab3e760edd50bacaee09ca3d6.zip
Fix an oversight in the bcl manual and code
Signed-off-by: Gavin Howard <gavin@yzena.com>
Diffstat (limited to 'include')
-rw-r--r--include/bcl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/bcl.h b/include/bcl.h
index f66a26bb..833592c4 100644
--- a/include/bcl.h
+++ b/include/bcl.h
@@ -82,8 +82,8 @@
#define BC_FILE_SEP '/'
#endif // _WIN32
-#define BC_SEED_ULONGS (4)
-#define BC_SEED_SIZE (sizeof(long) * BC_SEED_ULONGS)
+#define BCL_SEED_ULONGS (4)
+#define BCL_SEED_SIZE (sizeof(long) * BCL_SEED_ULONGS)
// For some reason, LONG_BIT is not defined in some versions of gcc.
// I define it here to the minimum accepted value in the POSIX standard.
@@ -228,7 +228,7 @@ BclNumber bcl_frand(size_t places);
BclNumber bcl_ifrand(BclNumber a, size_t places);
BclError bcl_rand_seedWithNum(BclNumber n);
-BclError bcl_rand_seed(unsigned char seed[BC_SEED_SIZE]);
+BclError bcl_rand_seed(unsigned char seed[BCL_SEED_SIZE]);
void bcl_rand_reseed(void);
BclNumber bcl_rand_seed2num(void);
BclRandInt bcl_rand_int(void);