src/sys/netinet6 ANSIfication

YONETANI Tomokazu qhwt+dragonfly-submit at les.ath.cx
Tue Apr 20 18:38:53 PDT 2004


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 */
 }





More information about the Submit mailing list