[PATCH] Make ffsl() and ffsll() BSD-visible

Sebastian Huber sebastian.huber@embedded-brains.de
Thu Nov 2 10:52:00 GMT 2017


----- Yaakov Selkowitz <yselkowi@redhat.com> schrieb:
> On 2017-09-29 00:33, Sebastian Huber wrote:
> > In glibc they are guarded by __USE_MISC and __USE_GNU, however, on
> > FreeBSD they are guarded by __BSD_VISIBLE.  In Newlib, __BSD_VISIBLE is
> > set to one by _GNU_SOURCE.
> 
> ffsl{,l} are only guarded as GNU extensions in glibc:
> 
> http://man7.org/linux/man-pages/man3/ffs.3.html

I asked glibc to change the guard:

https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/man3/ffs.3?id=247bbcf00c9a425ab0ad6e303ec8718e4ba844a6

Ok, to change it in Newlib now?


-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the Newlib mailing list