git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
57ea5b1
)
Header guard added
276/head
author
svost
<svost@users.noreply.github.com>
Sun, 14 Feb 2016 21:35:17 +0000 (
00:35
+0300)
committer
svost
<svost@users.noreply.github.com>
Sun, 14 Feb 2016 21:35:17 +0000 (
00:35
+0300)
src/ntp.h
patch
|
blob
|
history
diff --git
a/src/ntp.h
b/src/ntp.h
index
8cf3be6
..
464b3ed
100644
(file)
--- a/
src/ntp.h
+++ b/
src/ntp.h
@@
-1,3
+1,9
@@
+// Copyright (c) 2013-2016 The NovaCoin developers
+// Distributed under the MIT/X11 software license, see the accompanying
+// file COPYING or https://opensource.org/licenses/mit-license.php
+#ifndef NOVACOIN_NTP_H
+#define NOVACOIN_NTP_H
+
// Get time from random server and return server address.
int64_t NtpGetTime(CNetAddr& ip);
@@
-11,3
+17,5
@@
void ThreadNtpSamples(void* parg);
// NTP offset
int64_t GetNtpOffset();
+
+#endif // NOVACOIN_NTP_H