summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>2020-04-27 14:22:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-04-27 18:21:28 (GMT)
commit3cacb9aaf46cef6f9cd9b3a859fcc64416954b56 (patch)
tree6b8bff2d8be98c7104b72207ee9d709e7f6705e2 /t/helper
parent9d2152d3db9aec03cb8ef055c6fdd065eabeb8dd (diff)
downloadgit-3cacb9aaf46cef6f9cd9b3a859fcc64416954b56.zip
git-3cacb9aaf46cef6f9cd9b3a859fcc64416954b56.tar.gz
git-3cacb9aaf46cef6f9cd9b3a859fcc64416954b56.tar.bz2
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 't/helper')
-rw-r--r--t/helper/test-progress.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/t/helper/test-progress.c b/t/helper/test-progress.c
index 42b96cb..5d05cbe 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;