summaryrefslogtreecommitdiff
path: root/lib/libc/quad
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-10-01 02:32:08 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-10-01 02:32:08 +0000
commit00087c13f0a1ce0076c3caba4ffccc6416ff4c9c (patch)
tree66f8aa81a14106ae7a8a841a20ee0fadf11fe68e /lib/libc/quad
parent44d895a4f0e0d0bba54c64bb34c61b56c36710da (diff)
Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one
case, by deleting some useless '& of an array' we also eliminate the need for the casts which prompted the original lint warnings ok deraadt@
Diffstat (limited to 'lib/libc/quad')
-rw-r--r--lib/libc/quad/ashrdi3.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/quad/ashrdi3.c b/lib/libc/quad/ashrdi3.c
index d99643bac5e..990f6773db0 100644
--- a/lib/libc/quad/ashrdi3.c
+++ b/lib/libc/quad/ashrdi3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ashrdi3.c,v 1.6 2005/08/08 08:05:35 espie Exp $ */
+/* $OpenBSD: ashrdi3.c,v 1.7 2015/10/01 02:32:07 guenther Exp $ */
/*-
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -55,15 +55,12 @@ __ashrdi3(quad_t a, qshift_t shift)
* INT_BITS is undefined, so we shift (INT_BITS-1),
* then 1 more, to get our answer.
*/
- /* LINTED inherits machine dependency */
s = (aa.sl[H] >> (INT_BITS - 1)) >> 1;
- /* LINTED inherits machine dependency*/
aa.ul[L] = aa.sl[H] >> (shift - INT_BITS);
aa.ul[H] = s;
} else {
aa.ul[L] = (aa.ul[L] >> shift) |
(aa.ul[H] << (INT_BITS - shift));
- /* LINTED inherits machine dependency */
aa.sl[H] >>= shift;
}
return (aa.q);