From 3cacb9aaf46cef6f9cd9b3a859fcc64416954b56 Mon Sep 17 00:00:00 2001 From: Đoàn Trần Công Danh Date: Mon, 27 Apr 2020 21:22:37 +0700 Subject: progress.c: silence cgcc suggestion about internal linkage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Đoàn Trần Công Danh Reviewed-by: Ramsay Jones Signed-off-by: Junio C Hamano --- t/helper/test-progress.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 't/helper/test-progress.c') 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; -- cgit 1.2.3-korg