diff options
author | oni-link <knil.ino@gmail.com> | 2016-06-11 17:56:39 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-06-11 11:56:39 -0400 |
commit | 290215364898fbd3a660be6c0642377c47398619 (patch) | |
tree | a03bf50cbdf1428d25acf21e787efdc905fb008b /src/nvim/charset.c | |
parent | a160590e40342f013b7da45d2ab0e1c6ed636d35 (diff) | |
download | rneovim-290215364898fbd3a660be6c0642377c47398619.tar.gz rneovim-290215364898fbd3a660be6c0642377c47398619.tar.bz2 rneovim-290215364898fbd3a660be6c0642377c47398619.zip |
Remove some unnecessary function attributes (#4909)
This removes attribute FUNC_ATTR_NONNULL_ALL for functions without
a pointer parameter.
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r-- | src/nvim/charset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c index d0dc7b66fc..5ae4416052 100644 --- a/src/nvim/charset.c +++ b/src/nvim/charset.c @@ -1582,7 +1582,7 @@ static char_u latin1lower[257] = /// /// @param c character to check bool vim_islower(int c) - FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL + FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT { if (c <= '@') { return false; @@ -1613,7 +1613,7 @@ bool vim_islower(int c) /// /// @param c character to check bool vim_isupper(int c) - FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_NONNULL_ALL + FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT { if (c <= '@') { return false; |