Date: Wed, 2 Apr 2025 18:43:28 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: e94d3f65b901 - main - libiscsiutil: Fix header to work with C++ Message-ID: <202504021843.532IhSGn053784@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e94d3f65b90107204d477a7fab059d8cf3b1b0c3 commit e94d3f65b90107204d477a7fab059d8cf3b1b0c3 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2025-04-02 18:40:32 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2025-04-02 18:40:32 +0000 libiscsiutil: Fix header to work with C++ Reviewed by: asomers Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D49137 --- lib/libiscsiutil/libiscsiutil.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/libiscsiutil/libiscsiutil.h b/lib/libiscsiutil/libiscsiutil.h index c091c1d9753a..b50afa1c9409 100644 --- a/lib/libiscsiutil/libiscsiutil.h +++ b/lib/libiscsiutil/libiscsiutil.h @@ -95,6 +95,8 @@ struct rchap { size_t rchap_challenge_len; }; +__BEGIN_DECLS + struct chap *chap_new(void); char *chap_get_id(const struct chap *chap); char *chap_get_challenge(const struct chap *chap); @@ -174,4 +176,6 @@ void log_debugx(const char *, ...) __printflike(1, 2); char *checked_strdup(const char *); +__END_DECLS + #endif /* !__LIBISCSIUTIL_H__ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202504021843.532IhSGn053784>