blob: d691f699a36cb34799bf29beb5d2e96827726be4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- contrib/libs/liburing/test/helpers.c (index)
+++ contrib/libs/liburing/test/helpers.c (working tree)
@@ -365,16 +365,6 @@ unsigned long long utime_since_now(struct timeval *tv)
return utime_since(tv, &end);
}
-void *aligned_alloc(size_t alignment, size_t size)
-{
- void *ret;
-
- if (posix_memalign(&ret, alignment, size))
- return NULL;
-
- return ret;
-}
-
int t_create_socketpair_ip(struct sockaddr_storage *addr,
int *sock_client, int *sock_server,
bool ipv6, bool client_connect,
|