projects
/
tfcrypt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tfprng: remove legacy functions.
[tfcrypt.git]
/
tfprng.c
diff --git
a/tfprng.c
b/tfprng.c
index 934f38eb323d91a813612224461f4b50d38752b9..24de6fd657a179a9aae7f2bc9e7b49199902799e 100644
(file)
--- a/
tfprng.c
+++ b/
tfprng.c
@@
-92,13
+92,3
@@
TF_UNIT_TYPE tf_prng_range(TF_UNIT_TYPE s, TF_UNIT_TYPE d)
{
return tf_prng_range_r(&tf_prng_sdata, s, d);
}
-
-void tf_prng_srand(unsigned seed)
-{
- tf_prng_seed((TF_UNIT_TYPE)seed);
-}
-
-int tf_prng_rand(void)
-{
- return (int)tf_prng_range(0, (TF_UNIT_TYPE)TF_PRNG_LEGACY_RAND_MAX);
-}