summaryrefslogtreecommitdiff
path: root/games-action/koth/files/koth-0.8.0-lto.patch
blob: fea68a32d9fa871ec8356c419a8bc1b821639305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Remove extraneous inline that prevents successful linking under LTO
https://bugs.gentoo.org/942296
--- a/src/cfgfile.c
+++ b/src/cfgfile.c
@@ -53,7 +53,7 @@
     return result;
 }
 
-inline char *cfgClearWS(char *string)
+char *cfgClearWS(char *string)
 {
     char *ret = string, *temp;
     while(isspace(*ret))