Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 May 2004 08:05:47 -0500
From:      Larry Rosenman <ler@lerctr.org>
To:        freebsd-current@freebsd.org, wpaul@freebsd.org
Subject:   Kernel Compile issue
Message-ID:  <1C6372C43486E980B13F0E01@lerlaptop.lerctr.org>

next in thread | raw e-mail | index | archive | help
--==========79422A1F1A15094E4043==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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


--=20
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

--==========79422A1F1A15094E4043==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAuIqurRNGhTxJvdYRAio9AJ9yT61bHb33adJbc0icPxNZxNB/YgCeILnn
8y+fT9KBptZYH0aDF05epZs=
=5tyV
-----END PGP SIGNATURE-----

--==========79422A1F1A15094E4043==========--



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