diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2025-12-08 22:38:48 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-12-09 00:20:42 +0000 |
| commit | 6a75e3951506c12b42428a47710d07cadcdd723e (patch) | |
| tree | 8cae92bd937594aadc6989b3e428f23ce8392f08 | |
| parent | a98e5d78500193dc7aa352e1f60ac2c6529e2c38 (diff) | |
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
| -rw-r--r-- | contrib/ofed/libibverbs/config.h | 6 |
1 files 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_ */ |
