diff --git a/usr.bin/fortune/strfile/strfile.c b/usr.bin/fortune/strfile/strfile.c index c88d99741d5b..f0a8ed23ded4 100644 --- a/usr.bin/fortune/strfile/strfile.c +++ b/usr.bin/fortune/strfile/strfile.c @@ -438,10 +438,6 @@ randomize(void) off_t tmp; off_t *sp; -#if __FreeBSD_version < 800041 - srandomdev(); -#endif - Tbl.str_flags |= STR_RANDOM; cnt = Tbl.str_numstr; @@ -450,11 +446,7 @@ randomize(void) */ for (sp = Seekpts; cnt > 0; cnt--, sp++) { -#if __FreeBSD_version < 800041 - i = random() % cnt; -#else i = arc4random_uniform(cnt); -#endif tmp = sp[0]; sp[0] = sp[i]; sp[i] = tmp;