PERFORCE change 113677 for review
Paolo Pisati
piso at FreeBSD.org
Mon Jan 29 23:44:32 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=113677
Change 113677 by piso at 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;
More information about the p4-projects
mailing list