Remove unused inet_* weak references

This change requires a Newlib from 2017-06-12 or later.
This commit is contained in:
Sebastian Huber
2017-06-16 07:31:51 +02:00
parent 3c967ca238
commit b83012a9f9
12 changed files with 22 additions and 178 deletions

View File

@@ -60,11 +60,13 @@ inet_netof(struct in_addr in)
return (((i)&IN_CLASSC_NET) >> IN_CLASSC_NSHIFT);
}
#ifndef __rtems__
/*
* Weak aliases for applications that use certain private entry points,
* and fail to include <arpa/inet.h>.
*/
#undef inet_netof
__weak_reference(__inet_netof, inet_netof);
#endif /* __rtems__ */
/*! \file */