summarylogtreecommitdiffstats
path: root/gcc7.patch
blob: 1a9a62e76e853cecfe66d22e821b2e4eabc04e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/intern_blks/ya_intern.c b/src/intern_blks/ya_intern.c
index 187e62d..2e6095f 100644
--- a/src/intern_blks/ya_intern.c
+++ b/src/intern_blks/ya_intern.c
@@ -116,7 +116,7 @@ int ya_fscanf(char* fpath, ya_block_t *blk, char *fmt, ...) {
 	return ret;
 }
 
-inline void ya_setup_prefix_suffix(ya_block_t *blk, size_t * prflen, size_t *suflen, char **startstr) {
+__attribute__ ((gnu_inline)) inline void ya_setup_prefix_suffix(ya_block_t *blk, size_t * prflen, size_t *suflen, char **startstr) {
 	if(blk->internal->prefix) {
 		*prflen = strlen(blk->internal->prefix);
 		if(*prflen) {