From 799e22ea0c3f20f1900011573a10053dc3ea9138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Thu, 23 Oct 2014 17:34:41 +0200 Subject: Rename git_threads_ to git_libgit2_ This describes their purpose better, as we now initialize ssl and some other global stuff in there. Calling the init function is not something which has been optional for a while now. --- examples/rev-parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/rev-parse.c') diff --git a/examples/rev-parse.c b/examples/rev-parse.c index a24833767..483d6e019 100644 --- a/examples/rev-parse.c +++ b/examples/rev-parse.c @@ -29,13 +29,13 @@ int main(int argc, char *argv[]) { struct parse_state ps = {0}; - git_threads_init(); + git_libgit2_init(); parse_opts(&ps, argc, argv); check_lg2(parse_revision(&ps), "Parsing", NULL); git_repository_free(ps.repo); - git_threads_shutdown(); + git_libgit2_shutdown(); return 0; } -- cgit v1.2.1