From c611e096a8b73b82e5643237eb28e93ba25af6ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 11 May 2020 20:33:33 +0200 Subject: test/core: fix compilation with gcc 10 Newer gcc rejects multiple definitions of global variables. Fix #21 --- core/ccan/tap/tap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/ccan/tap/tap.h') diff --git a/core/ccan/tap/tap.h b/core/ccan/tap/tap.h index 5b21ff7..22c245d 100644 --- a/core/ccan/tap/tap.h +++ b/core/ccan/tap/tap.h @@ -246,6 +246,6 @@ void plan_skip_all(const char *reason); * * This can be used to ease debugging, or exit on the first failure. */ -void (*tap_fail_callback)(void); +extern void (*tap_fail_callback)(void); #endif /* CCAN_TAP_H */ -- cgit v1.2.3