summaryrefslogtreecommitdiff
path: root/progress.c
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 /progress.c
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 'progress.c')
-rw-r--r--progress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progress.c b/progress.c
index 19805ac..75633e9 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;