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/37abe5c5c2af
branches:  trunk
changeset: 451223:37abe5c5c2af
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 20d2f7f98aa1 -r 37abe5c5c2af 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