Source-Changes-HG archive

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

[src/trunk]: src/sys/sys va_end should be really __nothing.



details:   https://anonhg.NetBSD.org/src/rev/193f35332f32
branches:  trunk
changeset: 371775:193f35332f32
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 08 15:48:01 2022 +0000

description:
va_end should be really __nothing.

diffstat:

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

diffs (18 lines):

diff -r 272761557a93 -r 193f35332f32 sys/sys/stdarg.h
--- a/sys/sys/stdarg.h  Sat Oct 08 12:56:51 2022 +0000
+++ b/sys/sys/stdarg.h  Sat Oct 08 15:48:01 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdarg.h,v 1.5 2020/03/20 01:06:11 joerg Exp $ */
+/*     $NetBSD: stdarg.h,v 1.6 2022/10/08 15:48:01 christos Exp $      */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -42,7 +42,7 @@
 #define __builtin_next_arg(t)          ((t) ? 0 : 0)
 #define        __builtin_va_start(a, l)        ((a) = (va_list)(void *)&(l))
 #define        __builtin_va_arg(a, t)          ((a) ? (t) 0 : (t) 0)
-#define        __builtin_va_end(a)             /* nothing */
+#define        __builtin_va_end(a)             __nothing
 #define        __builtin_va_copy(d, s)         ((d) = (s))
 #elif !(__GNUC_PREREQ__(4, 5) || \
     (__GNUC_PREREQ__(4, 4) && __GNUC_PATCHLEVEL__ > 2) || defined(__clang__))



Home | Main Index | Thread Index | Old Index