Date: Thu, 7 Oct 2021 21:41:18 GMT From: Alan Somers <asomers@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 5060e3d2dae2 - stable/13 - ses: Guard the elm_type_names declaration by _KERNEL Message-ID: <202110072141.197LfIYB025844@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by asomers: URL: https://cgit.FreeBSD.org/src/commit/?id=5060e3d2dae25914e8b89caa71039621c552bc76 commit 5060e3d2dae25914e8b89caa71039621c552bc76 Author: Alan Somers <asomers@FreeBSD.org> AuthorDate: 2021-08-30 20:45:13 +0000 Commit: Alan Somers <asomers@FreeBSD.org> CommitDate: 2021-10-07 21:41:12 +0000 ses: Guard the elm_type_names declaration by _KERNEL Sponsored by: Axcient (cherry picked from commit cc2d08d3880c2e726849ab2aa23b3d15f8aa3938) --- sys/cam/scsi/scsi_enc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/cam/scsi/scsi_enc.h b/sys/cam/scsi/scsi_enc.h index cafec644bde4..b816a6a5d4cd 100644 --- a/sys/cam/scsi/scsi_enc.h +++ b/sys/cam/scsi/scsi_enc.h @@ -154,7 +154,9 @@ typedef enum { "SAS Connector" \ } +#ifdef _KERNEL extern const char *elm_type_names[]; +#endif typedef struct encioc_element { /* Element Index */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110072141.197LfIYB025844>