mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
func_attr: Fix other new linter errors
This commit is contained in:
@@ -41,6 +41,10 @@
|
|||||||
// $ gcc -E -dM - </dev/null
|
// $ gcc -E -dM - </dev/null
|
||||||
// $ echo | clang -dM -E -
|
// $ echo | clang -dM -E -
|
||||||
|
|
||||||
|
#ifndef NVIM_FUNC_ATTR_H
|
||||||
|
#define NVIM_FUNC_ATTR_H
|
||||||
|
#undef NVIM_FUNC_ATTR_H
|
||||||
|
|
||||||
#ifdef FUNC_ATTR_MALLOC
|
#ifdef FUNC_ATTR_MALLOC
|
||||||
# undef FUNC_ATTR_MALLOC
|
# undef FUNC_ATTR_MALLOC
|
||||||
#endif
|
#endif
|
||||||
@@ -207,3 +211,4 @@
|
|||||||
# define FUNC_ATTR_NONNULL_ARG(...)
|
# define FUNC_ATTR_NONNULL_ARG(...)
|
||||||
# define FUNC_ATTR_NONNULL_RET
|
# define FUNC_ATTR_NONNULL_RET
|
||||||
#endif
|
#endif
|
||||||
|
#endif // NVIM_FUNC_ATTR_H
|
||||||
|
Reference in New Issue
Block a user