diff options
| author | Junio C Hamano <gitster@pobox.com> | 2020-05-01 13:39:56 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-05-01 13:39:56 -0700 |
| commit | bf04590ecdf87d0ad034f7fbff36a10eb20637cb (patch) | |
| tree | 0eec97b7ca3c86fffe3d510ed124789d09c77a5a /t/helper/test-progress.c | |
| parent | Merge branch 'mt/doc-worktree-ref' (diff) | |
| parent | progress.c: silence cgcc suggestion about internal linkage (diff) | |
| download | git-bf04590ecdf87d0ad034f7fbff36a10eb20637cb.tar.gz git-bf04590ecdf87d0ad034f7fbff36a10eb20637cb.zip | |
Merge branch 'dd/sparse-fixes'
Compilation fix.
* dd/sparse-fixes:
progress.c: silence cgcc suggestion about internal linkage
graph.c: limit linkage of internal variable
compat/regex: move stdlib.h up in inclusion chain
test-parse-pathspec-file.c: s/0/NULL/ for pointer type
Diffstat (limited to 't/helper/test-progress.c')
| -rw-r--r-- | t/helper/test-progress.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/t/helper/test-progress.c b/t/helper/test-progress.c index 42b96cb103..5d05cbe789 100644 --- a/t/helper/test-progress.c +++ b/t/helper/test-progress.c @@ -13,20 +13,13 @@ * * See 't0500-progress-display.sh' for examples. */ +#define GIT_TEST_PROGRESS_ONLY #include "test-tool.h" #include "gettext.h" #include "parse-options.h" #include "progress.h" #include "strbuf.h" -/* - * These are defined in 'progress.c', but are not exposed in 'progress.h', - * because they are exclusively for testing. - */ -extern int progress_testing; -extern uint64_t progress_test_ns; -void progress_test_force_update(void); - int cmd__progress(int argc, const char **argv) { int total = 0; |
