summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2017-09-22 00:33:54 +0000
committerRobert Mustacchi <rm@joyent.com>2018-02-06 18:26:51 +0000
commit1eb7f6f10a2bf852886fac64ce710da077f20c75 (patch)
treef55208a840469b91e35bd9445e87e418ff6aa681 /usr/src
parente144c4e6c90e7d4dccaad6db660ee42b6e7ba04f (diff)
downloadillumos-joyent-1eb7f6f10a2bf852886fac64ce710da077f20c75.tar.gz
8706 libc lint library missing endian.h functions
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/libc/port/llib-lc20
1 files changed, 20 insertions, 0 deletions
diff --git a/usr/src/lib/libc/port/llib-lc b/usr/src/lib/libc/port/llib-lc
index f547dd44da..a63267fc54 100644
--- a/usr/src/lib/libc/port/llib-lc
+++ b/usr/src/lib/libc/port/llib-lc
@@ -399,6 +399,26 @@ char *ecvt(double value, int ndigit, int *_RESTRICT_KYWD decpt,
char *fcvt(double value, int ndigit, int *_RESTRICT_KYWD decpt,
int *_RESTRICT_KYWD sign);
+/* endian.c */
+uint16_t htole16(uint16_t);
+uint32_t htole32(uint32_t);
+uint64_t htole64(uint64_t);
+uint16_t letoh16(uint16_t);
+uint32_t letoh32(uint32_t);
+uint64_t letoh64(uint64_t);
+uint16_t le16toh(uint16_t);
+uint32_t le32toh(uint32_t);
+uint64_t le64toh(uint64_t);
+uint16_t htobe16(uint16_t);
+uint32_t htobe32(uint32_t);
+uint64_t htobe64(uint64_t);
+uint16_t betoh16(uint16_t);
+uint32_t betoh32(uint32_t);
+uint64_t betoh64(uint64_t);
+uint16_t be16toh(uint16_t);
+uint32_t be32toh(uint32_t);
+uint64_t be64toh(uint64_t);
+
/* err.c */
void _errfp(FILE *, int, const char *, ...);
void _verrfp(FILE *, int, const char *, va_list);