DragonFly BSD
DragonFly submit List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: src/sys/netinet6 ANSIfication


From: YONETANI Tomokazu <qhwt+dragonfly-submit@xxxxxxxxxx>
Date: Wed, 21 Apr 2004 10:37:54 +0900

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]