Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/common/include/linux Define struct va_format.



details:   https://anonhg.NetBSD.org/src/rev/d4ae13c3e350
branches:  trunk
changeset: 1027809:d4ae13c3e350
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 00:48:02 2021 +0000

description:
Define struct va_format.

diffstat:

 sys/external/bsd/common/include/linux/printk.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r e6a91d4bcae9 -r d4ae13c3e350 sys/external/bsd/common/include/linux/printk.h
--- a/sys/external/bsd/common/include/linux/printk.h    Sun Dec 19 00:47:54 2021 +0000
+++ b/sys/external/bsd/common/include/linux/printk.h    Sun Dec 19 00:48:02 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: printk.h,v 1.6 2018/08/28 08:50:46 skrll Exp $ */
+/*     $NetBSD: printk.h,v 1.7 2021/12/19 00:48:02 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -55,6 +55,11 @@
 #define        KERN_DEBUG      "kern debug: "
 #define        KERN_CONT       ""
 
+struct va_format {
+       const char      *fmt;
+       va_list         *va;
+};
+
 #define        DUMP_PREFIX_NONE        0
 #define        DUMP_PREFIX_OFFSET      1
 #define        DUMP_PREFIX_ADDRESS     2



Home | Main Index | Thread Index | Old Index