summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2017-04-11 20:39:10 +0300
committerRan Benita <ran234@gmail.com>2017-04-11 21:01:41 +0300
commit9d941458087639ee4229b262896a76daa8a738c2 (patch)
tree1a88f4555e9b7b2c398ffe26d5eb1c245aa036cc /test
parent03f4a03e71b444b7d0465481f9907afd744765d0 (diff)
downloadxorg-lib-libxkbcommon-9d941458087639ee4229b262896a76daa8a738c2.tar.gz
test/interactive-wayland: mark a local function static
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/interactive-wayland.c2
1 files changed, 1 insertions, 1 deletions
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";