mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00
Refactor/uncrustify (#15790)
* refactor: format with uncrustify * fixup(dundar): fix functions comments * fixup(dundar): remove space between variable and ++/-- * fixup(dundar): better workaround for macro attributes This is done to be able to better use uncrustify rules for macros * fixup(justin): make preprocessors follow neovim style guide
This commit is contained in:
@@ -3229,9 +3229,9 @@ static void shada_free_shada_entry(ShadaEntry *const entry)
|
||||
#ifndef HAVE_BE64TOH
|
||||
static inline uint64_t be64toh(uint64_t big_endian_64_bits)
|
||||
{
|
||||
#ifdef ORDER_BIG_ENDIAN
|
||||
# ifdef ORDER_BIG_ENDIAN
|
||||
return big_endian_64_bits;
|
||||
#else
|
||||
# else
|
||||
// It may appear that when !defined(ORDER_BIG_ENDIAN) actual order is big
|
||||
// endian. This variant is suboptimal, but it works regardless of actual
|
||||
// order.
|
||||
@@ -3241,7 +3241,7 @@ static inline uint64_t be64toh(uint64_t big_endian_64_bits)
|
||||
ret |= ((uint64_t)buf[i - 1]) << ((8 - i) * 8);
|
||||
}
|
||||
return ret;
|
||||
#endif
|
||||
# endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user