aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_endian.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-02 08:32:36 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-02 13:30:41 +0200
commit4ba20a511995b2179e59cf6d1880176d2d454bad (patch)
treec5ddc0e67eba47aedf60af8ab3e7d1aed2b2c5bd /lib/curl_endian.h
parent9b2dfe88bba160922e049ae9a19db585b65cbd56 (diff)
curl_endian: remove unused functions
Closes #1529
Diffstat (limited to 'lib/curl_endian.h')
-rw-r--r--lib/curl_endian.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/lib/curl_endian.h b/lib/curl_endian.h
index 8a2b07ad8..4f345a6a2 100644
--- a/lib/curl_endian.h
+++ b/lib/curl_endian.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -28,33 +28,9 @@ unsigned short Curl_read16_le(const unsigned char *buf);
/* Converts a 32-bit integer from little endian */
unsigned int Curl_read32_le(const unsigned char *buf);
-#if (CURL_SIZEOF_CURL_OFF_T > 4)
-/* Converts a 64-bit integer from little endian */
-#if defined(HAVE_LONGLONG)
-unsigned long long Curl_read64_le(const unsigned char *buf);
-#else
-unsigned __int64 Curl_read64_le(const unsigned char *buf);
-#endif
-#endif
-
/* Converts a 16-bit integer from big endian */
unsigned short Curl_read16_be(const unsigned char *buf);
-/* Converts a 32-bit integer from big endian */
-unsigned int Curl_read32_be(const unsigned char *buf);
-
-#if (CURL_SIZEOF_CURL_OFF_T > 4)
-/* Converts a 64-bit integer from big endian */
-#if defined(HAVE_LONGLONG)
-unsigned long long Curl_read64_be(const unsigned char *buf);
-#else
-unsigned __int64 Curl_read64_be(const unsigned char *buf);
-#endif
-#endif
-
-/* Converts a 16-bit integer to little endian */
-void Curl_write16_le(const short value, unsigned char *buffer);
-
/* Converts a 32-bit integer to little endian */
void Curl_write32_le(const int value, unsigned char *buffer);