diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-05-11 20:33:33 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-05-11 20:38:44 +0200 |
| commit | c611e096a8b73b82e5643237eb28e93ba25af6ca (patch) | |
| tree | 4f24bcb8a63b0c68439319081943351bcb6756e1 /core/ccan/tap/tap.h | |
| parent | 2751b370cfa2be7ca21620f807ac3e04ce653c28 (diff) | |
| download | vis-c611e096a8b73b82e5643237eb28e93ba25af6ca.tar.gz vis-c611e096a8b73b82e5643237eb28e93ba25af6ca.tar.xz | |
test/core: fix compilation with gcc 10
Newer gcc rejects multiple definitions of global variables.
Fix #21
Diffstat (limited to 'core/ccan/tap/tap.h')
| -rw-r--r-- | core/ccan/tap/tap.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |
