diff options
author | bde <bde@FreeBSD.org> | 1999-05-13 07:54:24 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-05-13 07:54:24 +0000 |
commit | fb2c8ca65e52d94d24392e6337a265dbe083b16f (patch) | |
tree | 85ea788c0b40fe2cd34574c9464a09e0807612b3 /sys/dev/bktr | |
parent | 6c58fc09fa277c0fdaf25597529e00d1e68ecbe6 (diff) | |
download | FreeBSD-src-fb2c8ca65e52d94d24392e6337a265dbe083b16f.zip FreeBSD-src-fb2c8ca65e52d94d24392e6337a265dbe083b16f.tar.gz |
memcmp -> bcmp. memcmp doesn't exist in the kernel, but unfortunately
it exists as a gcc builtin provided the kernel is not compiled with
-O0 or -fno-builtin.
Diffstat (limited to 'sys/dev/bktr')
-rw-r--r-- | sys/dev/bktr/bktr_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bktr/bktr_core.c b/sys/dev/bktr/bktr_core.c index 8dd1657..f184f9e 100644 --- a/sys/dev/bktr/bktr_core.c +++ b/sys/dev/bktr/bktr_core.c @@ -1,4 +1,4 @@ -/* $Id: brooktree848.c,v 1.74 1999/05/09 17:06:40 peter Exp $ */ +/* $Id: brooktree848.c,v 1.75 1999/05/10 10:10:13 roger Exp $ */ /* BT848 Driver for Brooktree's Bt848, Bt849, Bt878 and Bt 879 based cards. The Brooktree BT848 Driver driver is based upon Mark Tinguely and Jim Lowe's driver for the Matrox Meteor PCI card . The @@ -4654,7 +4654,7 @@ static int oformat_meteor_to_bt( u_long format ) if (( pf1->type == pf2->type ) && ( pf1->Bpp == pf2->Bpp ) && - !memcmp( pf1->masks, pf2->masks, sizeof( pf1->masks )) && + !bcmp( pf1->masks, pf2->masks, sizeof( pf1->masks )) && ( pf1->swap_bytes == pf2->swap_bytes ) && ( pf1->swap_shorts == pf2->swap_shorts )) break; |