From nobody Mon Jun 05 05:50:07 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QZN3z6d2gz4Zq0J; Mon, 5 Jun 2023 05:50:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QZN3z63vSz3MM8; Mon, 5 Jun 2023 05:50:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685944207; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=O53VJ7sWIKAcgSeahcocIX0P79K3Ook11KlqLKHk80E=; b=bAiJ25vix9OoWpaiaPYlc6g+LnpoFdWcq5gUw7t4Cplp1TBHeqfL7/1pc+R26HtFzDLcSt RuN2duhsYzt5SxYDu0SskkH3ITG43+1yFVIv2uQB7sALGG7WvdoAz1exqjak8iujGCXBkS i9R9FXNs7YX1bR6UsJ5YgSw+VRBEB4XuZ+hQr3GZP/Zl0ABIUkZGaq1Yfd3vmAFguAAUlg qm0TXZtLqMPbcWN9bRkmTN5cA8loVrYlPVKGgIoDM2kKwRRJeBjikcOV+OIQshKBhGSG0P ceUiyH+Ct0ymI5k5cKTK9kWY4piu1ENSOrxSMxeynYHDVmec8V3SZFEqpfMbSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685944207; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=O53VJ7sWIKAcgSeahcocIX0P79K3Ook11KlqLKHk80E=; b=OHD7YjvEvKvxdKlUb7cR35EGDI8UmKl8hHp9ymQ+PXiyCMSvzPWBeaiZiZMfKR51df9oHT VWoW6NKjI9/BiIkEHsmucbN91ES8vE/6gYkWmdbVTAsWHuPioZKhyyj1Z2pwTXd24hi2SZ 2UCuPUsFpz7xVMf7KGOZ5lWkIy30EMEYWqrhS4WJBpSCcX9xgEhIbGJBDQJj1ybHdez1bV Iw+2RNvgbj27FcCW9pj7/17C/TF9dfr6Oee6bkK+tY2cGy3SU8GtxFey8/6DsVGvhPPPg8 RjbD31/jDUSMMnLPtuNQrdS8it0VGKQzgW6VUsVQbPt0/wE6eQ+0zCedn6ljjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685944207; a=rsa-sha256; cv=none; b=YvxsP6fm+fwz8j5uVo+0DSrt6/poQq4bh1/RHLqW+dhAAFckXpwL5auZQ3xlKFSUNNduaT cGQnZWhMgTEJbBAzdzafXIQYuyoaBHRxTZicrgFOU4VsGthtoeQvASWQoB30A3+AG0FW25 W68XB0BT6MI+01ipSxIhCp/WOe4EbYnrPVuEKIA3JVLbdz4XXMuBlya8Y/UnlxD3eG9cVL jOUytP7jy0jyO5jXH2hdXQrb6Xsz+PJr8msGOd1mRmzfpT+Wr7MN8mo4hJ6Kw49EejPIM4 tw62HquBW/nprP643zFrl9QE6ucMV5SRR0HB7Ipjp4FMhcJdCKXNv+QW1TCI9Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QZN3z56Yczbr9; Mon, 5 Jun 2023 05:50:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3555o73D047696; Mon, 5 Jun 2023 05:50:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3555o7La047693; Mon, 5 Jun 2023 05:50:07 GMT (envelope-from git) Date: Mon, 5 Jun 2023 05:50:07 GMT Message-Id: <202306050550.3555o7La047693@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Colin Percival Subject: git: 1e4b7ab136b4 - main - tslog.h: Wrap in #ifdef _KERNEL List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1e4b7ab136b434dcb296833e509f87c95ac868bc Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=1e4b7ab136b434dcb296833e509f87c95ac868bc commit 1e4b7ab136b434dcb296833e509f87c95ac868bc Author: Colin Percival AuthorDate: 2023-06-04 22:59:10 +0000 Commit: Colin Percival CommitDate: 2023-06-05 05:49:38 +0000 tslog.h: Wrap in #ifdef _KERNEL This is not intended to be used from outside of the kernel; in particular, the boot loader has its own version of tslog. --- sys/sys/tslog.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/tslog.h b/sys/sys/tslog.h index af3c0931cac8..dcbfd266c5c2 100644 --- a/sys/sys/tslog.h +++ b/sys/sys/tslog.h @@ -29,6 +29,7 @@ #ifndef _TSLOG_H_ #define _TSLOG_H_ +#ifdef _KERNEL #ifdef TSLOG #include #include @@ -66,4 +67,5 @@ void tslog_user(pid_t, pid_t, const char *, const char *); #define TSRAW_USER(a, b, c, d) /* Timestamp logging disabled */ #endif +#endif /* _KERNEL */ #endif /* _TSLOG_H_ */