1
0

template.c: remove function random

This commit is contained in:
Intel A80486DX2-66 2023-11-18 20:03:13 +03:00
parent 8bc7c712b7
commit de7e641abb
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -55,9 +55,6 @@ bool silent_mode = false, debug_mode = false;
void void
debug_print(void); debug_print(void);
long double
random(void);
SAMPLE_TYPE SAMPLE_TYPE
bytebeat(long double w); bytebeat(long double w);
@ -79,19 +76,6 @@ debug_print(void)
return; return;
} }
long double
random(void)
{
static int initialized = 0;
if (!initialized) {
srand(time(NULL));
initialized = 1;
}
return (long double)rand() / RAND_MAX;
}
SAMPLE_TYPE SAMPLE_TYPE
bytebeat(long double w) bytebeat(long double w)
{ {