Module Name:    src
Committed By:   christos
Date:           Sat Oct  8 15:48:01 UTC 2022

Modified Files:
        src/sys/sys: stdarg.h

Log Message:
va_end should be really __nothing.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/sys/stdarg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/stdarg.h
diff -u src/sys/sys/stdarg.h:1.5 src/sys/sys/stdarg.h:1.6
--- src/sys/sys/stdarg.h:1.5	Thu Mar 19 21:06:11 2020
+++ src/sys/sys/stdarg.h	Sat Oct  8 11:48:01 2022
@@ -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__))

Reply via email to