summaryrefslogtreecommitdiff
path: root/src/offmap.h
diff options
context:
space:
mode:
authorStefan Widgren <stefan.widgren@gmail.com>2015-02-15 21:07:05 +0100
committerStefan Widgren <stefan.widgren@gmail.com>2015-02-15 21:07:05 +0100
commitc8e02b8776875e6372fc5eba8fc61c51f14f3392 (patch)
treeeb40ab7640394c68333ec670123b4a04f71dce70 /src/offmap.h
parenta291790a8d42579dafe8684151931847921a9578 (diff)
downloadlibgit2-c8e02b8776875e6372fc5eba8fc61c51f14f3392.tar.gz
Remove extra semicolon outside of a function
Without this change, compiling with gcc and pedantic generates warning: ISO C does not allow extra ‘;’ outside of a function.
Diffstat (limited to 'src/offmap.h')
-rw-r--r--src/offmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/offmap.h b/src/offmap.h
index 9471e7b91..0d0e51272 100644
--- a/src/offmap.h
+++ b/src/offmap.h
@@ -17,11 +17,11 @@
#define kfree git__free
#include "khash.h"
-__KHASH_TYPE(off, git_off_t, void *);
+__KHASH_TYPE(off, git_off_t, void *)
typedef khash_t(off) git_offmap;
#define GIT__USE_OFFMAP \
- __KHASH_IMPL(off, static kh_inline, git_off_t, void *, 1, kh_int64_hash_func, kh_int64_hash_equal);
+ __KHASH_IMPL(off, static kh_inline, git_off_t, void *, 1, kh_int64_hash_func, kh_int64_hash_equal)
#define git_offmap_alloc() kh_init(off)
#define git_offmap_free(h) kh_destroy(off, h), h = NULL