diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2020-04-27 21:22:37 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-27 11:21:28 -0700 |
commit | 3cacb9aaf46cef6f9cd9b3a859fcc64416954b56 (patch) | |
tree | 6b8bff2d8be98c7104b72207ee9d709e7f6705e2 /progress.h | |
parent | 9d2152d3db9aec03cb8ef055c6fdd065eabeb8dd (diff) | |
download | git-3cacb9aaf46cef6f9cd9b3a859fcc64416954b56.tar.gz |
progress.c: silence cgcc suggestion about internal linkage
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Reviewed-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'progress.h')
-rw-r--r-- | progress.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/progress.h b/progress.h index 847338911f..f1913acf73 100644 --- a/progress.h +++ b/progress.h @@ -3,6 +3,14 @@ struct progress; +#ifdef GIT_TEST_PROGRESS_ONLY + +extern int progress_testing; +extern uint64_t progress_test_ns; +void progress_test_force_update(void); + +#endif + void display_throughput(struct progress *progress, uint64_t total); void display_progress(struct progress *progress, uint64_t n); struct progress *start_progress(const char *title, uint64_t total); |