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:
@@ -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_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user