diff options
author | Gavin Howard <gavin@yzena.com> | 2021-07-16 23:48:31 -0600 |
---|---|---|
committer | Gavin Howard <gavin@yzena.com> | 2021-07-16 23:50:14 -0600 |
commit | dfd888de6f1103eab3e760edd50bacaee09ca3d6 (patch) | |
tree | 2063d5ddae7eeeb426567dd660a468d9331066a4 /manuals | |
parent | bac45669bebe0b15cb9a36f42a8f3cc8ad50be70 (diff) | |
download | platform_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 'manuals')
-rw-r--r-- | manuals/bcl.3 | 7 | ||||
-rw-r--r-- | manuals/bcl.3.md | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/manuals/bcl.3 b/manuals/bcl.3 index fac7e8d8..c079a20c 100644 --- a/manuals/bcl.3 +++ b/manuals/bcl.3 @@ -210,7 +210,7 @@ generator in bcl(3). \f[I]n\f[R]\f[B]);\f[R] .PP \f[B]BclError bcl_rand_seed(unsigned char\f[R] -\f[I]seed\f[R]\f[B][\f[R]\f[I]BC_SEED_SIZE\f[R]\f[B]]);\f[R] +\f[I]seed\f[R]\f[B][\f[R]\f[I]BCL_SEED_SIZE\f[R]\f[B]]);\f[R] .PP \f[B]void bcl_rand_reseed(\f[R]\f[I]void\f[R]\f[B]);\f[R] .PP @@ -955,7 +955,8 @@ functions: .IP \[bu] 2 \f[B]bcl_rand_seedWithNum(BclNumber)\f[R] .IP \[bu] 2 -\f[B]bcl_rand_seed(unsigned char[\f[R]\f[I]BC_SEED_SIZE\f[R]\f[B]])\f[R] +\f[B]bcl_rand_seed(unsigned +char[\f[R]\f[I]BCL_SEED_SIZE\f[R]\f[B]])\f[R] .IP \[bu] 2 \f[B]bcl_rand_reseed(\f[R]\f[I]void\f[R]\f[B])\f[R] .PP @@ -1078,7 +1079,7 @@ function, they are not guaranteed to return a number equal to \f[I]n\f[R]. .RE .TP -\f[B]BclError bcl_rand_seed(unsigned char\f[R] \f[I]seed\f[R]\f[B][\f[R]\f[I]BC_SEED_SIZE\f[R]\f[B]])\f[R] +\f[B]BclError bcl_rand_seed(unsigned char\f[R] \f[I]seed\f[R]\f[B][\f[R]\f[I]BCL_SEED_SIZE\f[R]\f[B]])\f[R] Seeds the PRNG with the bytes in \f[I]seed\f[R]. .RS .PP diff --git a/manuals/bcl.3.md b/manuals/bcl.3.md index f7150721..daf5f461 100644 --- a/manuals/bcl.3.md +++ b/manuals/bcl.3.md @@ -198,7 +198,7 @@ generator in bcl(3). **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_**);** @@ -813,7 +813,7 @@ remaining fairly portable. If necessary, the PRNG can be reseeded with one of the following functions: * **bcl_rand_seedWithNum(BclNumber)** -* **bcl_rand_seed(unsigned char[**_BC_SEED_SIZE_**])** +* **bcl_rand_seed(unsigned char[**_BCL_SEED_SIZE_**])** * **bcl_rand_reseed(**_void_**)** The following items allow clients to use the pseudo-random number generator. All @@ -913,7 +913,7 @@ procedures require a valid current context. **bcl_rand_seed2num_err(BclNumber)** are called right after this function, they are not guaranteed to return a number equal to *n*. -**BclError bcl_rand_seed(unsigned char** _seed_**[**_BC_SEED_SIZE_**])** +**BclError bcl_rand_seed(unsigned char** _seed_**[**_BCL_SEED_SIZE_**])** : Seeds the PRNG with the bytes in *seed*. |