mirror of
https://github.com/vale981/yabar
synced 2025-03-04 17:11:38 -05:00
Fix GCC 7 inline error from #154
This commit is contained in:
parent
0a8d11ad66
commit
9779a5e04b
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue