Remove htonll and ntohll as symbols from aarch64 libc.

Other architectures do not define them, and so we don't provide a
function declaration in any header.

This means a package may detect it with a link-test and then fail
due to the missing declaration, like sysutils/collectd currently does.

Done this way as aarch64 has not had a release yet. Discussed with releng.
This commit is contained in:
maya 2019-10-12 09:22:36 +00:00
parent 4324503887
commit a11c5ab81a
1 changed files with 1 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: byte_swap_8.S,v 1.1 2014/08/10 05:47:35 matt Exp $ */
/* $NetBSD: byte_swap_8.S,v 1.2 2019/10/12 09:22:36 maya Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@ -41,7 +41,3 @@ ENTRY(FUNC)
rev x0, x0
ret
END(FUNC)
#if BYTE_ORDER == LITTLE_ENDIAN
STRONG_ALIAS(_C_LABEL(ntohll), FUNC)
STRONG_ALIAS(_C_LABEL(htonll), FUNC)
#endif