Revert "ELF Visibility"

This commit is contained in:
Drew DeVault 2018-02-19 18:01:27 -05:00 committed by GitHub
parent 09cfa39392
commit 1d9be89e2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 8 additions and 403 deletions

View file

@ -31,7 +31,6 @@
#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) {
@ -98,11 +97,6 @@ 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;