[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-tech
Subject:    Re: pipex(4): kill unused declaration
From:       Claudio Jeker <cjeker () diehard ! n-r-g ! com>
Date:       2020-06-30 14:04:44
Message-ID: 20200630140444.GB44024 () diehard ! n-r-g ! com
[Download RAW message or body]

On Tue, Jun 30, 2020 at 04:30:24PM +0300, Vitaliy Makkoveev wrote:
> `udpcksum' declared but not used in net/pipex.c, so kill it

OK claudio@ 
> Index: sys/net/pipex.c
> ===================================================================
> RCS file: /cvs/src/sys/net/pipex.c,v
> retrieving revision 1.116
> diff -u -p -r1.116 pipex.c
> --- sys/net/pipex.c	22 Jun 2020 09:38:15 -0000	1.116
> +++ sys/net/pipex.c	30 Jun 2020 13:28:48 -0000
> @@ -104,9 +104,6 @@ struct mbuf_queue pipexoutq = MBUF_QUEUE
>  /* borrow an mbuf pkthdr field */
>  #define ph_ppp_proto ether_vtag
>  
> -/* from udp_usrreq.c */
> -extern int udpcksum;
> -
>  #ifdef PIPEX_DEBUG
>  int pipex_debug = 0;		/* systcl net.inet.ip.pipex_debug */
>  #endif
> 

-- 
:wq Claudio

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic