aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-01-11 20:55:56 +0300
committerZyX <kp-pav@yandex.ru>2018-03-27 01:33:59 +0300
commit0bfc91be9642eae6a456d0bf88ca609dcc178fa5 (patch)
treec37809a76bb7a43c256b393a9a228c4a02b8139c
parent17ea0f2214f13b11305e380d9e93e7577b7675aa (diff)
downloadrneovim-0bfc91be9642eae6a456d0bf88ca609dcc178fa5.tar.gz
rneovim-0bfc91be9642eae6a456d0bf88ca609dcc178fa5.tar.bz2
rneovim-0bfc91be9642eae6a456d0bf88ca609dcc178fa5.zip
shada: Make ignore_buf also inline
-rw-r--r--src/nvim/shada.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/shada.c b/src/nvim/shada.c
index 5014a88917..f0ab1ff73f 100644
--- a/src/nvim/shada.c
+++ b/src/nvim/shada.c
@@ -2259,8 +2259,8 @@ static inline ShaDaWriteResult shada_read_when_writing(
/// @param[in] removable_bufs Cache of buffers ignored due to their location.
///
/// @return true or false.
-static bool ignore_buf(const buf_T *const buf,
- khash_t(bufset) *const removable_bufs)
+static inline bool ignore_buf(const buf_T *const buf,
+ khash_t(bufset) *const removable_bufs)
FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_ALWAYS_INLINE
{
return (buf->b_ffname == NULL || !buf->b_p_bl || bt_quickfix(buf) \