Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hp300/dev Remove unnecessary trailing argument. No...



details:   https://anonhg.NetBSD.org/src/rev/514caef44609
branches:  trunk
changeset: 517619:514caef44609
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Fri Nov 16 08:14:05 2001 +0000

description:
Remove unnecessary trailing argument.  Now compiles with new toolchain.

diffstat:

 sys/arch/hp300/dev/maskbits.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6e25580b2f95 -r 514caef44609 sys/arch/hp300/dev/maskbits.h
--- a/sys/arch/hp300/dev/maskbits.h     Fri Nov 16 07:52:38 2001 +0000
+++ b/sys/arch/hp300/dev/maskbits.h     Fri Nov 16 08:14:05 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: maskbits.h,v 1.3 1997/03/31 07:37:28 scottr Exp $      */
+/*     $NetBSD: maskbits.h,v 1.4 2001/11/16 08:14:05 gmcgarry Exp $    */
 
 /*-
  * Copyright (c) 1994
@@ -71,7 +71,7 @@
 #define FASTPUTBITS(src, x, w, pdst) \
     asm ("bfins %3,%0{%1:%2}" \
         : "=o" (*(char *)(pdst)) \
-        : "di" (x), "di" (w), "d" (src), "0" (*(char *) (pdst)))
+        : "di" (x), "di" (w), "d" (src))
 
 #define getandputrop(psrc, srcbit, dstbit, width, pdst, rop) \
 { \



Home | Main Index | Thread Index | Old Index