From 1d9be89e2d62316690ed211e50b79f2bec38e00f Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 19 Feb 2018 18:01:27 -0500 Subject: Revert "ELF Visibility" --- util/os-compatibility.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'util/os-compatibility.c') diff --git a/util/os-compatibility.c b/util/os-compatibility.c index 0e95fdee..bd3067d2 100644 --- a/util/os-compatibility.c +++ b/util/os-compatibility.c @@ -31,7 +31,6 @@ #include #include #include -#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; -- cgit v1.2.3