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
This commit is contained in:
Konstantin Belousov
2025-12-09 00:38:48 +02:00
parent a98e5d7850
commit 6a75e39515
+3 -3
View File
@@ -1,6 +1,5 @@
/* $FreeBSD$ */ #ifndef _OFED_IBVERBS_CONFIG_H_
#define _OFED_IBVERBS_CONFIG_H_
#include "alloca.h"
#define memalign(align, size) ({ \ #define memalign(align, size) ({ \
void *__ptr; \ void *__ptr; \
@@ -39,3 +38,4 @@
#define MADV_DOFORK MADV_NORMAL #define MADV_DOFORK MADV_NORMAL
#define SWITCH_FALLTHROUGH (void)0 #define SWITCH_FALLTHROUGH (void)0
#endif /* _OFED_IBVERBS_CONFIG_H_ */