mirror of
https://github.com/glfw/glfw.git
synced 2025-12-22 15:12:09 +00:00
Make createAnonymousFile static
This commit is contained in:
parent
f67b610dd4
commit
c1694c1a19
@ -516,7 +516,7 @@ handleEvents(int timeout)
|
|||||||
* is set to ENOSPC. If posix_fallocate() is not supported, program may
|
* is set to ENOSPC. If posix_fallocate() is not supported, program may
|
||||||
* receive SIGBUS on accessing mmap()'ed file contents instead.
|
* receive SIGBUS on accessing mmap()'ed file contents instead.
|
||||||
*/
|
*/
|
||||||
int
|
static int
|
||||||
createAnonymousFile(off_t size)
|
createAnonymousFile(off_t size)
|
||||||
{
|
{
|
||||||
static const char template[] = "/glfw-shared-XXXXXX";
|
static const char template[] = "/glfw-shared-XXXXXX";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user