Date: Sun, 30 May 2004 11:46:27 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Bill Paul <wpaul@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/compat/ndis subr_ndis.c src/sys/dev/if_ndis if_ndis.c Message-ID: <20040530094627.GD12007@darkness.comp.waw.pl> In-Reply-To: <200405290641.i4T6fHhj002797@repoman.freebsd.org> References: <200405290641.i4T6fHhj002797@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--J4XPiPrVK1ev6Sgr Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 28, 2004 at 11:41:17PM -0700, Bill Paul wrote: [...] +> +static int +> +my_strcasecmp(s1, s2, len) +> + const char *s1; +> + const char *s2; +> + int len; +> +{ +> + int i; +> + +> + for (i =3D 0; i < len; i++) { +> + if (toupper(s1[i]) !=3D toupper(s2[i])) +> + return(1); +> + } +> + +> + return(0); +> +} +> + Could we move it to libkern? I want to use it too. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --J4XPiPrVK1ev6Sgr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAua1yForvXbEpPzQRAv6JAKDHKCJJqNWIvQNm6gnp8oUEKGXizQCgh1Mx j/rN177qsCTdaNblKcD+6Rc= =xcfv -----END PGP SIGNATURE----- --J4XPiPrVK1ev6Sgr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040530094627.GD12007>