mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-24 05:24:39 +08:00
Remove unused inet_* weak references
This change requires a Newlib from 2017-06-12 or later.
This commit is contained in:
parent
b83012a9f9
commit
9db59c71ad
@ -111,6 +111,7 @@ inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) {
|
||||
return (start);
|
||||
}
|
||||
|
||||
#ifndef __rtems__
|
||||
/*
|
||||
* Weak aliases for applications that use certain private entry points,
|
||||
* and fail to include <arpa/inet.h>.
|
||||
@ -119,5 +120,6 @@ inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) {
|
||||
__weak_reference(__inet_nsap_addr, inet_nsap_addr);
|
||||
#undef inet_nsap_ntoa
|
||||
__weak_reference(__inet_nsap_ntoa, inet_nsap_ntoa);
|
||||
#endif /* __rtems__ */
|
||||
|
||||
/*! \file */
|
||||
|
Loading…
x
Reference in New Issue
Block a user