[PATCH 3/5] Cygwin: Implement the GNU extension clearenv

Yaakov Selkowitz yselkowitz@cygwin.com
Mon Jun 4 23:17:00 GMT 2018


On 2018-06-04 14:36, Ken Brown wrote:
> --- a/winsup/cygwin/include/cygwin/stdlib.h
> +++ b/winsup/cygwin/include/cygwin/stdlib.h
> @@ -22,6 +22,7 @@ void	setprogname (const char *);
>   
>   #if __GNU_VISIBLE
>   char *canonicalize_file_name (const char *);
> +int clearenv ();
>   #endif

This should be in a __MISC_VISIBLE conditional, and the (void) parameter 
is missing.

-- 
Yaakov



More information about the Cygwin-patches mailing list