OK martijn@

On Sat, 2020-12-26 at 23:24 +0100, Jan Stary wrote:
> ftpd doesn't need to declare extern int optreset
> as that is already done in the included unistd.h
> 
>         Jan
> 
> Index: popen.c
> ===================================================================
> RCS file: /cvs/src/libexec/ftpd/popen.c,v
> retrieving revision 1.29
> diff -u -p -r1.29 popen.c
> --- popen.c     15 Jan 2020 22:06:59 -0000      1.29
> +++ popen.c     26 Dec 2020 22:05:49 -0000
> @@ -113,7 +113,6 @@ ftpd_ls(const char *path, pid_t *pidptr)
>                 (void)close(pdes[0]);
>                 closelog();
>  
> -               extern int optreset;
>                 extern int ls_main(int, char **);
>  
>                 /* reset getopt for ls_main */
> 


Reply via email to