mirror of
https://github.com/glfw/glfw.git
synced 2024-11-11 13:03:52 +00:00
Make createAnonymousFile static
This commit is contained in:
parent
d6b9d00ceb
commit
2de3605b4c
@ -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