diff options
author | ZyX <kp-pav@yandex.ru> | 2017-01-06 01:47:07 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-01-06 01:47:07 +0300 |
commit | 10d9c6d813d51750e6f77b3ef58ac4d4fef08e86 (patch) | |
tree | 0dfdfd0d1f3f34e74c049f47ab2807b03a3501f3 | |
parent | ac50971f8779c5a86c31e69aa84bb42e149c3fdc (diff) | |
download | rneovim-10d9c6d813d51750e6f77b3ef58ac4d4fef08e86.tar.gz rneovim-10d9c6d813d51750e6f77b3ef58ac4d4fef08e86.tar.bz2 rneovim-10d9c6d813d51750e6f77b3ef58ac4d4fef08e86.zip |
shada: Mark ALWAYS_INLINE function as `inline`
-rw-r--r-- | src/nvim/shada.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/shada.c b/src/nvim/shada.c index f83a3bdad9..64610ae8f8 100644 --- a/src/nvim/shada.c +++ b/src/nvim/shada.c @@ -2326,7 +2326,8 @@ static inline ShaDaWriteResult shada_read_when_writing( /// @param[in] removable_bufs Buffers which are ignored /// /// @return ShadaEntry List of buffers to save, kSDItemBufferList entry. -static ShadaEntry shada_get_buflist(khash_t(bufset) *const removable_bufs) +static inline ShadaEntry shada_get_buflist( + khash_t(bufset) *const removable_bufs) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_ALWAYS_INLINE { int max_bufs = get_shada_parameter('%'); |