Date: Tue, 09 Dec 2025 00:21:04 +0000 From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 6a75e3951506 - main - ofed/libibverbs: remove strdupa() hack from config.h Message-ID: <69376b70.ce4e.303fa65b@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=6a75e3951506c12b42428a47710d07cadcdd723e commit 6a75e3951506c12b42428a47710d07cadcdd723e Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-12-08 22:38:48 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2025-12-09 00:20:42 +0000 ofed/libibverbs: remove strdupa() hack from config.h It is now provided by regular string.h. While there, remove stale $FreeBSD$ svn tag, and add include guards. Sponsored by: NVidia networking MFC after: 1 week --- contrib/ofed/libibverbs/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/ofed/libibverbs/config.h b/contrib/ofed/libibverbs/config.h index 88722ee1cde1..ee0ff8fb020e 100644 --- a/contrib/ofed/libibverbs/config.h +++ b/contrib/ofed/libibverbs/config.h @@ -1,6 +1,5 @@ -/* $FreeBSD$ */ - -#include "alloca.h" +#ifndef _OFED_IBVERBS_CONFIG_H_ +#define _OFED_IBVERBS_CONFIG_H_ #define memalign(align, size) ({ \ void *__ptr; \ @@ -39,3 +38,4 @@ #define MADV_DOFORK MADV_NORMAL #define SWITCH_FALLTHROUGH (void)0 +#endif /* _OFED_IBVERBS_CONFIG_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69376b70.ce4e.303fa65b>
