git: b14d3736c23e - main - libnvmf: Fix header to work with C++
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Aug 2025 20:09:58 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=b14d3736c23ea530491667c5eb68070bd12b05ca
commit b14d3736c23ea530491667c5eb68070bd12b05ca
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-08-06 19:56:05 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-08-06 19:56:05 +0000
libnvmf: Fix header to work with C++
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D51727
---
lib/libnvmf/libnvmf.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/libnvmf/libnvmf.h b/lib/libnvmf/libnvmf.h
index 6b38fd286596..f095af8bb02a 100644
--- a/lib/libnvmf/libnvmf.h
+++ b/lib/libnvmf/libnvmf.h
@@ -51,6 +51,8 @@ struct nvmf_qpair_params {
};
};
+__BEGIN_DECLS
+
/* Transport-independent APIs. */
/*
@@ -384,4 +386,6 @@ int nvmf_reconnect_host(int fd, const struct nvme_discovery_log_entry *dle,
*/
int nvmf_connection_status(int fd, nvlist_t **nvlp);
+__END_DECLS
+
#endif /* !__LIBNVMF_H__ */