diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-23 17:34:41 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-11-08 23:46:39 +0100 |
commit | 799e22ea0c3f20f1900011573a10053dc3ea9138 (patch) | |
tree | 43af7e21e2872ee3b83a1478ceb75b068b100a1c /examples/diff.c | |
parent | 4865cc3f0631a8a4e0e1de897865df0e552c70cb (diff) | |
download | libgit2-799e22ea0c3f20f1900011573a10053dc3ea9138.tar.gz |
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.
Diffstat (limited to 'examples/diff.c')
-rw-r--r-- | examples/diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/diff.c b/examples/diff.c index 76ac2f311..b69cb2218 100644 --- a/examples/diff.c +++ b/examples/diff.c @@ -77,7 +77,7 @@ int main(int argc, char *argv[]) -1, 0, 0, GIT_DIFF_FORMAT_PATCH, NULL, NULL, "." }; - git_threads_init(); + git_libgit2_init(); parse_opts(&o, argc, argv); @@ -163,7 +163,7 @@ int main(int argc, char *argv[]) git_tree_free(t2); git_repository_free(repo); - git_threads_shutdown(); + git_libgit2_shutdown(); return 0; } |