mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
ofed/libibverbs: remove no longer needed local alloca.h
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
Some checks are pending
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (push) Waiting to run
Sponsored by: NVidia networking MFC after: 1 week
This commit is contained in:
parent
6a75e39515
commit
70edd3c126
4 changed files with 0 additions and 21 deletions
|
|
@ -1,18 +0,0 @@
|
|||
#ifndef _LIBIBVERBS_ALLOCA_H_
|
||||
#define _LIBIBVERBS_ALLOCA_H_
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define strdupa(_s) \
|
||||
({ \
|
||||
char *_d; \
|
||||
int _len; \
|
||||
\
|
||||
_len = strlen(_s) + 1; \
|
||||
_d = alloca(_len); \
|
||||
if (_d) \
|
||||
memcpy(_d, _s, _len); \
|
||||
_d; \
|
||||
})
|
||||
#endif /* _LIBIBVERBS_ALLOCA_H_ */
|
||||
|
|
@ -38,7 +38,6 @@
|
|||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <alloca.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "ibverbs.h"
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@
|
|||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <alloca.h>
|
||||
|
||||
#include "ibverbs.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@
|
|||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <alloca.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "ibverbs.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue