On 2018-06-04 14:36, Ken Brown wrote:
2. I guarded the declaration of clearenv() with __GNU_VISIBLE, but
again I'm not sure about this. On the one hand, clearenv() is a
GNU extension, so __GNU_VISIBLE would seem to be the right guard.
On the other hand, glibc declares clearenv() if _DEFAULT_SOURCE is
defined, so maybe the guard should be relaxed if our goal is to
emulate Linux.
Use __MISC_VISIBLE. -- Yaakov
