diff options
author | Russell Belfer <rb@github.com> | 2014-02-20 14:27:10 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-02-20 14:27:10 -0800 |
commit | 72556cc63ba93a187589921c6008caf92686ea9c (patch) | |
tree | 441873fde7a3ccc7f8fba11a8555641dba891746 /include/git2/common.h | |
parent | 68a19ca9ffb685123038a8d16c0a59845f147778 (diff) | |
download | libgit2-72556cc63ba93a187589921c6008caf92686ea9c.tar.gz |
Address PR comments
* Make GIT_INLINE an internal definition so it cannot be used in
public headers
* Fix language in CONTRIBUTING
* Make index caps API use signed instead of unsigned values
Diffstat (limited to 'include/git2/common.h')
-rw-r--r-- | include/git2/common.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/git2/common.h b/include/git2/common.h index dca0c9c21..492715447 100644 --- a/include/git2/common.h +++ b/include/git2/common.h @@ -37,13 +37,6 @@ # define GIT_EXTERN(type) extern type #endif -/** Declare a function as always inlined. */ -#if defined(_MSC_VER) -# define GIT_INLINE(type) static __inline type -#else -# define GIT_INLINE(type) static inline type -#endif - /** Declare a function's takes printf style arguments. */ #ifdef __GNUC__ # define GIT_FORMAT_PRINTF(a,b) __attribute__((format (printf, a, b))) |