git: e94d3f65b901 - main - libiscsiutil: Fix header to work with C++
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Apr 2025 18:43:28 UTC
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__ */