From fd07772daf019e648fa5729a9c982fb5953c8bf5 Mon Sep 17 00:00:00 2001 From: Sven Klemm Date: Sat, 23 May 2020 12:11:11 +0200 Subject: [PATCH] Fix multiple definitions of ts_mock_timer --- test/src/bgw/timer_mock.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/src/bgw/timer_mock.h b/test/src/bgw/timer_mock.h index 8c439d432..9d98db689 100644 --- a/test/src/bgw/timer_mock.h +++ b/test/src/bgw/timer_mock.h @@ -3,8 +3,8 @@ * Please see the included NOTICE for copyright information and * LICENSE-APACHE for a copy of the license. */ -#ifndef TIME_MOCK_H -#define TIME_MOCK_H +#ifndef TIMESCALEDB_BGW_TIMER_MOCK_H +#define TIMESCALEDB_BGW_TIMER_MOCK_H #include #include @@ -13,6 +13,6 @@ extern void ts_timer_mock_register_bgw_handle(BackgroundWorkerHandle *handle); -const Timer ts_mock_timer; +extern const Timer ts_mock_timer; -#endif /* tTIME_MOCK_H */ +#endif /* TIMESCALEDB_BGW_TIMER_MOCK_H */