Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2007 23:44:31 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 113677 for review
Message-ID:  <200701292344.l0TNiVOE060050@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113677

Change 113677 by piso@piso_newluxor on 2007/01/29 23:44:30

	Axe gargabe that crept in during the last IFC.

Affected files ...

.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias.c#34 edit

Differences ...

==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias.c#34 (text+ko) ====

@@ -1212,26 +1212,15 @@
 }
 
 /* Local prototypes */
-#ifdef _KERNEL
 static int
-LibAliasOutLocked(struct libalias *la, struct mbuf *ptr, int maxpacketsize,
-    int create);
+LibAliasOutLocked(struct libalias *la, char *ptr,
+		  int maxpacketsize, int create);
 static int
-LibAliasInLocked(struct libalias *la, struct mbuf *ptr, int maxpacketsize);
-#else
-static int
-LibAliasOutLocked(struct libalias *la, char *ptr,int maxpacketsize, 
-    int create);
-static int
-LibAliasInLocked(struct libalias *la, char *ptr, int maxpacketsize);
-#endif
+LibAliasInLocked(struct libalias *la, char *ptr,
+		  int maxpacketsize);
 
 int
-#ifdef _KERNEL
-LibAliasIn(struct libalias *la, struct mbuf *ptr, int maxpacketsize)
-#else
 LibAliasIn(struct libalias *la, char *ptr, int maxpacketsize)
-#endif
 {
 	int res;
 
@@ -1242,11 +1231,7 @@
 }
 
 static int
-#ifdef _KERNEL
-LibAliasInLocked(struct libalias *la, struct mbuf *ptr, int maxpacketsize)
-#else
 LibAliasInLocked(struct libalias *la, char *ptr, int maxpacketsize)
-#endif
 {
 	struct in_addr alias_addr;
 	struct ip *pip;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701292344.l0TNiVOE060050>