Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/sys Remove obsolete size asserts.



details:   https://anonhg.NetBSD.org/src/rev/d80eec8c8aa7
branches:  trunk
changeset: 841370:d80eec8c8aa7
user:      mgorny <mgorny%NetBSD.org@localhost>
date:      Fri May 10 17:34:26 2019 +0000

description:
Remove obsolete size asserts.

diffstat:

 tests/lib/libc/sys/t_ptrace_x86_wait.h |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (31 lines):

diff -r 29f9428d578a -r d80eec8c8aa7 tests/lib/libc/sys/t_ptrace_x86_wait.h
--- a/tests/lib/libc/sys/t_ptrace_x86_wait.h    Fri May 10 16:43:09 2019 +0000
+++ b/tests/lib/libc/sys/t_ptrace_x86_wait.h    Fri May 10 17:34:26 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_x86_wait.h,v 1.11 2019/05/10 16:28:00 mgorny Exp $    */
+/*     $NetBSD: t_ptrace_x86_wait.h,v 1.12 2019/05/10 17:34:26 mgorny Exp $    */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -2216,10 +2216,6 @@
        );
 }
 
-#if defined(__i386__)
-__CTASSERT(sizeof(struct fpreg) == sizeof(struct save87));
-#endif
-
 ATF_TC_BODY(x86_regs_mm_read, tc)
 {
        const int exitval = 5;
@@ -2340,10 +2336,6 @@
        );
 }
 
-#if defined(__i386__)
-__CTASSERT(sizeof(struct xmmregs) == sizeof(struct fxsave));
-#endif
-
 ATF_TC(x86_regs_xmm_read);
 ATF_TC_HEAD(x86_regs_xmm_read, tc)
 {



Home | Main Index | Thread Index | Old Index