summaryrefslogtreecommitdiff
path: root/src/oid.c
diff options
context:
space:
mode:
authorJulio Espinoza-Sokal <julioes@gmail.com>2008-12-20 20:47:41 -0500
committerShawn O. Pearce <spearce@spearce.org>2008-12-30 21:52:07 -0800
commit213e720ca80207fe1bb48ad95e2c422e17281a9a (patch)
treebab41e61c338ed174de4cad036da7a5edb40d28c /src/oid.c
parent6f6a17db05a83620cef4572761831c20a70ba9b9 (diff)
downloadlibgit2-213e720ca80207fe1bb48ad95e2c422e17281a9a.tar.gz
Change usages of static inline to GIT_INLINE
Signed-off-by: Julio Espinoza-Sokal <julioes@gmail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'src/oid.c')
-rw-r--r--src/oid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oid.c b/src/oid.c
index bca03c4e4..8601554dd 100644
--- a/src/oid.c
+++ b/src/oid.c
@@ -60,7 +60,7 @@ int git_oid_mkstr(git_oid *out, const char *str)
return GIT_SUCCESS;
}
-static inline char *fmt_one(char *str, unsigned int val)
+GIT_INLINE(char) *fmt_one(char *str, unsigned int val)
{
*str++ = to_hex[val >> 4];
*str++ = to_hex[val & 0xf];