Re: src/sys/netinet6 ANSIfication
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 */
}
討論串 (同標題文章)
完整討論串 (本文為第 3 之 6 篇):