]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
test-libntp.h:
authorHarlan Stenn <stenn@ntp.org>
Sat, 27 Aug 2022 08:03:40 +0000 (03:03 -0500)
committerHarlan Stenn <stenn@ntp.org>
Sat, 27 Aug 2022 08:03:40 +0000 (03:03 -0500)
  Bug 3688 - one more fix

bk: 6309cfdcnGZUyZpcHrVTmFMTi-14dA

tests/libntp/test-libntp.h

index 93050b32a1e250c5c5a89763283f9f05f54ce8db..176838b1e04a93f0f5e2443412c2b20b1e7b99f0 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef TEST_LIBNTP_H
+#define TEST_LIBNTP_H
+
 #include "config.h"
 
 #include "ntp_stdlib.h"
@@ -5,4 +8,5 @@
 
 time_t timefunc(time_t *ptr);
 void settime(int y, int m, int d, int H, int M, int S);
-time_t nowtime;
+extern time_t nowtime;
+#endif