summaryrefslogtreecommitdiff
path: root/external/skia/fix-gcc-x86.patch.1
blob: 097c59475c5b299fa70380024edf35c333a2c026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- skia/third_party/skcms/src/Transform_inl.h   2020-04-13 00:38:56.363207994 +0200
+++ skia/third_party/skcms/src/Transform_inl.h~  2020-04-13 00:39:18.215603244 +0200
@@ -689,11 +689,11 @@
       && (defined(__mips64) || defined(__i386) || defined(__s390x__))
     #define MAYBE_NOINLINE __attribute__((noinline))
 #else
-    #define MAYBE_NOINLINE
+    #define MAYBE_NOINLINE static
 #endif
 
 MAYBE_NOINLINE
-static void clut(const skcms_A2B* a2b, F* r, F* g, F* b, F a) {
+void clut(const skcms_A2B* a2b, F* r, F* g, F* b, F a) {
     const int dim = (int)a2b->input_channels;
     assert (0 < dim && dim <= 4);