Kernel Compile issue

Larry Rosenman ler at lerctr.org
Sat May 29 06:05:58 PDT 2004


I tried to compile a kernel from today's sources, and got a message about a
function definition not being a prototype in wpaul@'s subr_ndis.c commit.

I made the following patch, which fixed it for me.

lerlaptop# diff -u subr_ndis.c.old subr_ndis.c
--- subr_ndis.c.old     Sat May 29 01:41:16 2004
+++ subr_ndis.c Sat May 29 06:48:27 2004
@@ -556,10 +556,7 @@
 }

 static int
-my_strcasecmp(s1, s2, len)
-        const char              *s1;
-        const char              *s2;
-        int                     len;
+my_strcasecmp(const char *s1, const char *s2, int len)
 {
         int                     i;

lerlaptop#


Can someone commit?

Thanks!

LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler at lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040529/82b0bdff/attachment.bin


More information about the freebsd-current mailing list