aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/assert.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-02-04 19:40:14 +0100
committerGitHub <noreply@github.com>2019-02-04 19:40:14 +0100
commit36378c33c6ca6b5c906b8ab326db508feb32c859 (patch)
treedfc17914f56d208a1d6db0389d943b0824ef3e1c /src/nvim/assert.h
parent91688b488310ae45ea5874df8729e7dfe554c0bc (diff)
parent45f25f7e0b3f105faebf5e215e5c128346463046 (diff)
downloadrneovim-36378c33c6ca6b5c906b8ab326db508feb32c859.tar.gz
rneovim-36378c33c6ca6b5c906b8ab326db508feb32c859.tar.bz2
rneovim-36378c33c6ca6b5c906b8ab326db508feb32c859.zip
Merge #9560 from justinmk/Wmissing-prototypes
Diffstat (limited to 'src/nvim/assert.h')
-rw-r--r--src/nvim/assert.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/assert.h b/src/nvim/assert.h
index 6e8e57c183..34734f294d 100644
--- a/src/nvim/assert.h
+++ b/src/nvim/assert.h
@@ -80,7 +80,7 @@
# undef STATIC_ASSERT_PRAGMA_END
# define STATIC_ASSERT_PRAGMA_END \
- _Pragma("GCC diagnostic pop") \
+ _Pragma("GCC diagnostic pop")
// the same goes for clang in C99 mode, but we suppress a different warning
#elif defined(__clang__) && __has_extension(c_static_assert)
@@ -90,11 +90,11 @@
# undef STATIC_ASSERT_PRAGMA_START
# define STATIC_ASSERT_PRAGMA_START \
_Pragma("clang diagnostic push") \
- _Pragma("clang diagnostic ignored \"-Wc11-extensions\"") \
+ _Pragma("clang diagnostic ignored \"-Wc11-extensions\"")
# undef STATIC_ASSERT_PRAGMA_END
# define STATIC_ASSERT_PRAGMA_END \
- _Pragma("clang diagnostic pop") \
+ _Pragma("clang diagnostic pop")
// TODO(aktau): verify that this works, don't have MSVC on hand.
#elif _MSC_VER >= 1600