test/interactive-wayland: mark a local function static
authorRan Benita <ran234@gmail.com>
Tue, 11 Apr 2017 17:39:10 +0000 (20:39 +0300)
committerRan Benita <ran234@gmail.com>
Tue, 11 Apr 2017 18:01:41 +0000 (21:01 +0300)
Signed-off-by: Ran Benita <ran234@gmail.com>
test/interactive-wayland.c

index 1b1b0dd..c28fbb6 100644 (file)
@@ -142,7 +142,7 @@ create_tmpfile_cloexec(char *tmpname)
  * If posix_fallocate() is not supported, program may receive
  * SIGBUS on accessing mmap()'ed file contents instead.
  */
-int
+static int
 os_create_anonymous_file(off_t size)
 {
        static const char template[] = "/weston-shared-XXXXXX";