diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2020-04-27 16:22:37 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-27 20:21:28 +0200 |
commit | 3cacb9aaf46cef6f9cd9b3a859fcc64416954b56 (patch) | |
tree | 6b8bff2d8be98c7104b72207ee9d709e7f6705e2 /progress.c | |
parent | graph.c: limit linkage of internal variable (diff) | |
download | git-3cacb9aaf46cef6f9cd9b3a859fcc64416954b56.tar.xz git-3cacb9aaf46cef6f9cd9b3a859fcc64416954b56.zip |
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.c')
-rw-r--r-- | progress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progress.c b/progress.c index 19805ac646..75633e9c5e 100644 --- a/progress.c +++ b/progress.c @@ -8,6 +8,7 @@ * published by the Free Software Foundation. */ +#define GIT_TEST_PROGRESS_ONLY #include "cache.h" #include "gettext.h" #include "progress.h" @@ -52,7 +53,6 @@ static volatile sig_atomic_t progress_update; */ int progress_testing; uint64_t progress_test_ns = 0; -void progress_test_force_update(void); /* To silence -Wmissing-prototypes */ void progress_test_force_update(void) { progress_update = 1; |