Skip to content

Commit 0d2f682

Browse files
authored
Merge pull request libgit2#4210 from pks-t/pks/misc-fixes
Misc fixes
2 parents 8d89e40 + 13c275a commit 0d2f682

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

include/git2/global.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ GIT_BEGIN_DECL
1414
/**
1515
* Init the global state
1616
*
17-
* This function must the called before any other libgit2 function in
17+
* This function must be called before any other libgit2 function in
1818
* order to set up global state and threading.
1919
*
2020
* This function may be called multiple times - it will return the number

tests/threads/diff.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ static git_repository *_repo;
1919
static git_tree *_a, *_b;
2020
static git_atomic _counts[4];
2121
static int _check_counts;
22+
#ifdef GIT_WIN32
2223
static int _retries;
24+
#endif
2325

2426
#define THREADS 20
2527

0 commit comments

Comments
 (0)