Commit 9d941458087639ee4229b262896a76daa8a738c2

Ran Benita 2017-04-11T20:39:10

test/interactive-wayland: mark a local function static Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/interactive-wayland.c b/test/interactive-wayland.c
index 1b1b0dd..c28fbb6 100644
--- a/test/interactive-wayland.c
+++ b/test/interactive-wayland.c
@@ -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";