mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Explicitly export EFL symbols
This commit is contained in:
parent
f27c0b44b8
commit
86269052eb
54 changed files with 397 additions and 2 deletions
|
|
@ -31,6 +31,7 @@
|
|||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include "util/defs.h"
|
||||
#include "util/os-compatibility.h"
|
||||
|
||||
int os_fd_set_cloexec(int fd) {
|
||||
|
|
@ -97,6 +98,11 @@ int create_tmpfile_cloexec(char *tmpname)
|
|||
* If posix_fallocate() is not supported, program may receive
|
||||
* SIGBUS on accessing mmap()'ed file contents instead.
|
||||
*/
|
||||
/*
|
||||
* XXX: This is not part of our public headers, but one of the examples uses it.
|
||||
* We really should not export this.
|
||||
*/
|
||||
WLR_API
|
||||
int os_create_anonymous_file(off_t size) {
|
||||
static const char template[] = "/wlroots-shared-XXXXXX";
|
||||
const char *path;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue