RFC: libkern version of inet_ntoa_r

David Chisnall theraven at FreeBSD.org
Sun Jul 29 16:55:27 UTC 2012


On 29 Jul 2012, at 10:58, Luigi Rizzo wrote:

> 3. nuke inet_ntoa_r() from libc

inet_ntoa_r is a public symbol and therefore part of our ABI contract with userspace applications.  Even if no one that we are aware of is using it, we should officially deprecate it for one major release before removing it.  ABI churn for purely aesthetic reasons does not make users happy people.  

> I need it because i would like to compile parts of the kernel in userspace,
> and having a kernel function with the same name and different arguments
> from of a libc function is annoying.


Presumably this usage can be trivially fixed with a trivial macro in a prefix header?

David


More information about the freebsd-current mailing list