shm: guard fallback on FreeBSD < 13 as well
../src/shm.c:35:13: warning: unused function 'randname' [-Wunused-function] static void randname(char *buf) ^pull/62/head
parent
6916780389
commit
72dd8a159c
|
@ -31,7 +31,7 @@ static inline int memfd_create(const char *name, unsigned int flags) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_MEMFD
|
#if !defined(HAVE_MEMFD) && !defined(__FreeBSD__)
|
||||||
static void randname(char *buf)
|
static void randname(char *buf)
|
||||||
{
|
{
|
||||||
struct timespec ts;
|
struct timespec ts;
|
||||||
|
|
Loading…
Reference in New Issue