summaryrefslogtreecommitdiff
path: root/media-sound/synaesthesia/files/synaesthesia-2.4-inline-keyword.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-24 23:59:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-24 23:59:54 +0000
commit401101f9c8077911929d3f2b60a37098460a5d89 (patch)
treec2bef4719f6787550f0916aeaa8f4f403a9296af /media-sound/synaesthesia/files/synaesthesia-2.4-inline-keyword.patch
parent4cbcc855382a06088e2f016f62cafdbcb7e40665 (diff)
gentoo resync : 25.03.2022
Diffstat (limited to 'media-sound/synaesthesia/files/synaesthesia-2.4-inline-keyword.patch')
-rw-r--r--media-sound/synaesthesia/files/synaesthesia-2.4-inline-keyword.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-sound/synaesthesia/files/synaesthesia-2.4-inline-keyword.patch b/media-sound/synaesthesia/files/synaesthesia-2.4-inline-keyword.patch
new file mode 100644
index 000000000000..ef93f24029bb
--- /dev/null
+++ b/media-sound/synaesthesia/files/synaesthesia-2.4-inline-keyword.patch
@@ -0,0 +1,14 @@
+--- a/syna.h
++++ b/syna.h
+@@ -73,9 +73,9 @@
+ #endif
+
+ void error(char *str,bool syscall=false);
+-void inline attempt(int x,char *y,bool syscall=false) { if (x == -1) error(y,syscall); }
++inline void attempt(int x,char *y,bool syscall=false) { if (x == -1) error(y,syscall); }
+ void warning(char *str,bool syscall=false);
+-void inline attemptNoDie(int x,char *y,bool syscall=false) { if (x == -1) warning(y,syscall); }
++inline void attemptNoDie(int x,char *y,bool syscall=false) { if (x == -1) warning(y,syscall); }
+
+ /* *wrap */
+ struct BaseScreen {