From 2de3605b4c2632dd9f3da2b7eb172bf6150a2913 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 19 Dec 2017 17:24:46 +0100 Subject: [PATCH] Make createAnonymousFile static --- src/wl_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wl_window.c b/src/wl_window.c index 0048af94..dc25c92a 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -516,7 +516,7 @@ handleEvents(int timeout) * is set to ENOSPC. If posix_fallocate() is not supported, program may * receive SIGBUS on accessing mmap()'ed file contents instead. */ -int +static int createAnonymousFile(off_t size) { static const char template[] = "/glfw-shared-XXXXXX";