diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/api/private/defs.h | 2 | ||||
-rw-r--r-- | src/nvim/ascii.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/api/private/defs.h b/src/nvim/api/private/defs.h index 2144c80d6a..390b7e8363 100644 --- a/src/nvim/api/private/defs.h +++ b/src/nvim/api/private/defs.h @@ -47,7 +47,7 @@ typedef enum { /// Internal call from lua code #define LUA_INTERNAL_CALL (VIML_INTERNAL_CALL + 1) -static inline bool is_internal_call(uint64_t channel_id) +static inline bool is_internal_call(const uint64_t channel_id) REAL_FATTR_ALWAYS_INLINE REAL_FATTR_CONST; /// Check whether call is internal diff --git a/src/nvim/ascii.h b/src/nvim/ascii.h index 9ccb70764d..ff6840d690 100644 --- a/src/nvim/ascii.h +++ b/src/nvim/ascii.h @@ -146,7 +146,7 @@ static inline bool ascii_isxdigit(int c) /// Checks if `c` is an “identifier” character /// /// That is, whether it is alphanumeric character or underscore. -static inline bool ascii_isident(const int c) +static inline bool ascii_isident(int c) { return ASCII_ISALNUM(c) || c == '_'; } |