diff --git a/src/template.c b/src/template.c index 2823bcc..a190b24 100644 --- a/src/template.c +++ b/src/template.c @@ -55,9 +55,6 @@ bool silent_mode = false, debug_mode = false; void debug_print(void); -long double -random(void); - SAMPLE_TYPE bytebeat(long double w); @@ -79,19 +76,6 @@ debug_print(void) return; } -long double -random(void) -{ - static int initialized = 0; - - if (!initialized) { - srand(time(NULL)); - initialized = 1; - } - - return (long double)rand() / RAND_MAX; -} - SAMPLE_TYPE bytebeat(long double w) {