Name |
Last commit
|
Last update |
---|---|---|
.. | ||
xdiff.h | ||
xdiffi.c | ||
xdiffi.h | ||
xemit.c | ||
xemit.h | ||
xhistogram.c | ||
xinclude.h | ||
xmacros.h | ||
xmerge.c | ||
xpatience.c | ||
xprepare.c | ||
xprepare.h | ||
xtypes.h | ||
xutils.c | ||
xutils.h |
ISO C90 does not specify the `inline` attribute, and as such we cannot use it in our code. While we already use `__inline` when building in Microsoft Visual Studio, we should also be using the `__inline__` attribute from GCC/Clang. Otherwise, if we're using neither MSVC nor GCC/Clang, we should simply avoid using `inline` at all and just define functions as static. This commit adjusts our own `GIT_INLINE` macro as well as the inline macros specified by khash and xdiff. This allows us to enable strict C90 mode in a later commit.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
xdiff.h | Loading commit data... | |
xdiffi.c | Loading commit data... | |
xdiffi.h | Loading commit data... | |
xemit.c | Loading commit data... | |
xemit.h | Loading commit data... | |
xhistogram.c | Loading commit data... | |
xinclude.h | Loading commit data... | |
xmacros.h | Loading commit data... | |
xmerge.c | Loading commit data... | |
xpatience.c | Loading commit data... | |
xprepare.c | Loading commit data... | |
xprepare.h | Loading commit data... | |
xtypes.h | Loading commit data... | |
xutils.c | Loading commit data... | |
xutils.h | Loading commit data... |