From owner-cvs-sys Tue Jul 25 15:09:16 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id PAA14976 for cvs-sys-outgoing; Tue, 25 Jul 1995 15:09:16 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id PAA14963 ; Tue, 25 Jul 1995 15:09:08 -0700 Date: Tue, 25 Jul 1995 15:09:08 -0700 From: Bruce Evans Message-Id: <199507252209.PAA14963@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/scsi scsi_base.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde 95/07/25 15:09:08 Modified: sys/scsi scsi_base.c Log: Change memcmp() to bcmp(). memcmp() isn't declared or implemented for the kernel, but gcc provides an inline version of it if the kernel is compiled with -O. The inline memcmp() is OK for small compares and is better than the dumb kernel bcmp() in all cases, but it has been hiding the library memcmp() which is 4 times faster for large compares.