diff options
Diffstat (limited to 'src/non_critical/random_sounds.c')
| -rw-r--r-- | src/non_critical/random_sounds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/non_critical/random_sounds.c b/src/non_critical/random_sounds.c index 315c992..4e7ba76 100644 --- a/src/non_critical/random_sounds.c +++ b/src/non_critical/random_sounds.c @@ -21,13 +21,13 @@ static void* audio_hell() { } } -int init(int threads, int time) { +int init_random_sounds(int threads, int time) { for(int i = 0; i < MAX_THREADS; i++) { pthread_create(&THRS[i], NULL, audio_hell, NULL); } } -void stop() { +void stop_random_sounds() { for(int i = 0; i < MAX_THREADS; i++) { pthread_cancel(THRS[i]); } |
