hc
2023-11-06 15ade055295d13f95d49e3d99b09f3bbfb4a43e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From d3c8e2d8d78899fba40a3e677ed4dbe388d82269 Mon Sep 17 00:00:00 2001
From: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Date: Thu, 18 Sep 2014 18:29:23 +0200
Subject: [PATCH] Fix FTBFS with clang++
 
Forwarded from http://bugs.debian.org/757820
 
Downloaded from upstream commit
https://github.com/jackaudio/jack2/commit/d3c8e2d8d78899fba40a3e677ed4dbe388d82269
 
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 common/memops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 
diff --git a/common/memops.c b/common/memops.c
index 27f6194a..2d416b64 100644
--- a/common/memops.c
+++ b/common/memops.c
@@ -198,7 +198,7 @@ static inline __m128i float_24_sse(__m128 s)
  */
 static unsigned int seed = 22222;
 
-inline unsigned int fast_rand() {
+static inline unsigned int fast_rand() {
     seed = (seed * 96314165) + 907633515;
     return seed;
 }