Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Change __always_inline to simple __inline to unbreak...



details:   https://anonhg.NetBSD.org/src/rev/e0fa1a8a5d5f
branches:  trunk
changeset: 365577:e0fa1a8a5d5f
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Aug 22 11:55:28 2018 +0000

description:
Change __always_inline to simple __inline to unbreak the build.

diffstat:

 sys/sys/asan.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 9ba57be9258e -r e0fa1a8a5d5f sys/sys/asan.h
--- a/sys/sys/asan.h    Wed Aug 22 10:09:21 2018 +0000
+++ b/sys/sys/asan.h    Wed Aug 22 11:55:28 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asan.h,v 1.3 2018/08/22 10:09:21 maxv Exp $    */
+/*     $NetBSD: asan.h,v 1.4 2018/08/22 11:55:28 martin Exp $  */
 
 /*
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -39,20 +39,20 @@
 void kasan_alloc(const void *, size_t, size_t);
 void kasan_free(const void *, size_t);
 #else
-static void __always_inline __unused
+static void __inline __unused
 kasan_add_redzone(size_t *size __unused)
 {
        /* nothing */
 }
 
-static void __always_inline __unused
+static void __inline __unused
 kasan_alloc(const void *addr __unused, size_t size __unused,
     size_t sz_with_redz __unused)
 {
        /* nothing */
 }
 
-static void __always_inline __unused
+static void __inline __unused
 kasan_free(const void *addr __unused, size_t sz_with_redz __unused)
 {
        /* nothing */



Home | Main Index | Thread Index | Old Index