git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8d2b65d
)
Remove unused function.
author
CryptoManiac
<balthazar@yandex.ru>
Thu, 17 Sep 2015 00:05:29 +0000 (
03:05
+0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Thu, 17 Sep 2015 00:05:29 +0000 (
03:05
+0300)
src/ntp.cpp
patch
|
blob
|
history
diff --git
a/src/ntp.cpp
b/src/ntp.cpp
index
586aa34
..
19146ca
100644
(file)
--- a/
src/ntp.cpp
+++ b/
src/ntp.cpp
@@
-57,12
+57,6
@@
inline void Ntp2Unix(uint32_t &n, time_t &u)
u = n - 0x83aa7e80; // 2208988800 1970 - 1900 in seconds
}
-inline void HTONL_FP(l_fp *h, l_fp *n)
-{
- (n)->Ul_i.Xl_ui = htonl((h)->Ul_i.Xl_ui);
- (n)->Ul_f.Xl_uf = htonl((h)->Ul_f.Xl_uf);
-}
-
inline void ntohl_fp(l_fp *n, l_fp *h)
{
(h)->Ul_i.Xl_ui = ntohl((n)->Ul_i.Xl_ui);