mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-25 09:33:21 +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);
|
return (start);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
/*
|
/*
|
||||||
* Weak aliases for applications that use certain private entry points,
|
* Weak aliases for applications that use certain private entry points,
|
||||||
* and fail to include <arpa/inet.h>.
|
* 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);
|
__weak_reference(__inet_nsap_addr, inet_nsap_addr);
|
||||||
#undef inet_nsap_ntoa
|
#undef inet_nsap_ntoa
|
||||||
__weak_reference(__inet_nsap_ntoa, inet_nsap_ntoa);
|
__weak_reference(__inet_nsap_ntoa, inet_nsap_ntoa);
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user