Re: src/sys/netinet6 ANSIfication

看板DFBSD_submit作者時間21年前 (2004/04/21 18:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/6 (看更多)
Hi. On Sat, Apr 17, 2004 at 07:56:50PM -0300, Andre Nathan wrote: > Hello > > The patch at [1] provides ANSIfication for the code on src/sys/netinet6. > The kernel builds fine with the patch applied. > > Best regards, > Andre > > [1]http://andre.people.digirati.com.br/dragonfly/dragonfly-netinet6.patch Probably harmless, but the type name `size_t' is missing in front of `off,'. @@ -247,33 +243,27 @@ } static int -esp_null_decrypt(m, off, sav, algo, ivlen) - struct mbuf *m; - size_t off; /* offset to ESP header */ - struct secasvar *sav; - const struct esp_algorithm *algo; - int ivlen; +esp_null_decrypt(struct mbuf *m, + off, /* offset to ESP header */ + struct secasvar *sav, const struct esp_algorithm *algo, + int ivlen) { return 0; /* do nothing */ }
文章代碼(AID): #10XaPf00 (DFBSD_submit)
文章代碼(AID): #10XaPf00 (DFBSD_submit)