Re: fix warnings in netcat

2017-05-22 Thread Alexander Bluhm
On Wed, May 10, 2017 at 03:16:45PM +0200, Alexander Bluhm wrote: > When compiling netcat with WARNINGS=yes, gcc produces a bunch of > warnings. > > /crypt/home/bluhm/openbsd/cvs/src/usr.bin/nc/netcat.c:1348: warning: no > previous prototype for 'strtoport' > /crypt/home/bluhm/openbsd/cvs/src/usr.

fix warnings in netcat

2017-05-10 Thread Alexander Bluhm
Hi, When compiling netcat with WARNINGS=yes, gcc produces a bunch of warnings. /crypt/home/bluhm/openbsd/cvs/src/usr.bin/nc/netcat.c:1348: warning: no previous prototype for 'strtoport' /crypt/home/bluhm/openbsd/cvs/src/usr.bin/nc/netcat.c: In function 'save_peer_cert': /crypt/home/bluhm/openbs