summaryrefslogtreecommitdiff
path: root/examples/showindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/showindex.c')
-rw-r--r--examples/showindex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/showindex.c b/examples/showindex.c
index 604124f12..43be5e24c 100644
--- a/examples/showindex.c
+++ b/examples/showindex.c
@@ -23,7 +23,7 @@ int main (int argc, char** argv)
char out[GIT_OID_HEXSZ+1];
out[GIT_OID_HEXSZ] = '\0';
- git_threads_init();
+ git_libgit2_init();
if (argc > 2)
fatal("usage: showindex [<repo-dir>]", NULL);
@@ -64,7 +64,7 @@ int main (int argc, char** argv)
}
git_index_free(index);
- git_threads_shutdown();
+ git_libgit2_shutdown();
return 0;
}