Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slackbuilds/ap/jack/jack2-1.9.10-fast_rand.diff

12 lines
414 B

diff -Naur jack2-1.9.10.orig/common/memops.c jack2-1.9.10/common/memops.c
--- jack2-1.9.10.orig/common/memops.c 2014-07-19 15:34:15.000000000 +0200
+++ jack2-1.9.10/common/memops.c 2016-07-17 19:41:24.934981957 +0200
@@ -198,7 +198,7 @@
*/
static unsigned int seed = 22222;
-inline unsigned int fast_rand() {
+static inline unsigned int fast_rand() {
seed = (seed * 96314165) + 907633515;
return seed;
}