Source-Changes-HG archive

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

[src/trunk]: src/sys/crypto/aes/arch/arm fix build with llvm/clang.



details:   https://anonhg.NetBSD.org/src/rev/8481907b3fa7
branches:  trunk
changeset: 936260:8481907b3fa7
user:      ryo <ryo%NetBSD.org@localhost>
date:      Thu Jul 23 11:33:01 2020 +0000

description:
fix build with llvm/clang.

diffstat:

 sys/crypto/aes/arch/arm/arm_neon.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2747c88fe1eb -r 8481907b3fa7 sys/crypto/aes/arch/arm/arm_neon.h
--- a/sys/crypto/aes/arch/arm/arm_neon.h        Thu Jul 23 09:59:36 2020 +0000
+++ b/sys/crypto/aes/arch/arm/arm_neon.h        Thu Jul 23 11:33:01 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm_neon.h,v 1.2 2020/06/30 21:24:00 riastradh Exp $   */
+/*     $NetBSD: arm_neon.h,v 1.3 2020/07/23 11:33:01 ryo Exp $ */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
 #elif defined(__clang__)
 
 #define        _INTRINSATTR                                                          \
-       __attribute__((__always_inline__, __nodebug))
+       __attribute__((__always_inline__, __nodebug__))
 
 typedef __attribute__((neon_vector_type(16))) int8_t int8x16_t;
 typedef __attribute__((neon_vector_type(2))) int64_t int64x2_t;



Home | Main Index | Thread Index | Old Index