Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2026 18:44:19 +0000
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 48438ab6cf04 - stable/14 - libiscsiutil: Fix header to work with C++
Message-ID:  <69790783.2041b.550e797b@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=48438ab6cf0459e20e0586c31de0376d2ee65ee5

commit 48438ab6cf0459e20e0586c31de0376d2ee65ee5
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-04-02 18:40:32 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-01-27 18:15:57 +0000

    libiscsiutil: Fix header to work with C++
    
    Reviewed by:    asomers
    Sponsored by:   Chelsio Communications
    Differential Revision:  https://reviews.freebsd.org/D49137
    
    (cherry picked from commit e94d3f65b90107204d477a7fab059d8cf3b1b0c3)
---
 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__ */


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69790783.2041b.550e797b>