aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/misc.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-11-07 09:39:19 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-11-07 09:39:19 +0100
commit52efbc3a23fd62640177c96a14df76c42a1b462c (patch)
tree101f9fb804a0a4b0f0e6cf9b38d06308a3fc4701 /include/libssh/misc.h
parent639dc3b5fd298b952dd5a7880ae89d448547d353 (diff)
downloadlibssh-52efbc3a23fd62640177c96a14df76c42a1b462c.tar.gz
libssh-52efbc3a23fd62640177c96a14df76c42a1b462c.tar.xz
libssh-52efbc3a23fd62640177c96a14df76c42a1b462c.zip
misc: Use simpler macros for htonll and ntohll
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/misc.h')
-rw-r--r--include/libssh/misc.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/libssh/misc.h b/include/libssh/misc.h
index 1e69b069..128e2ba9 100644
--- a/include/libssh/misc.h
+++ b/include/libssh/misc.h
@@ -33,15 +33,6 @@ int ssh_analyze_banner(ssh_session session, int server, int *ssh1, int *ssh2);
int ssh_is_ipaddr_v4(const char *str);
int ssh_is_ipaddr(const char *str);
-#ifndef HAVE_NTOHLL
-/* macro for byte ordering */
-uint64_t ntohll(uint64_t);
-#endif
-
-#ifndef HAVE_HTONLL
-#define htonll(x) ntohll((x))
-#endif
-
/* list processing */
struct ssh_list {