projects
/
platform
/
upstream
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91931bc
)
tests: Quiet warning
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 29 Aug 2012 18:12:11 +0000
(14:12 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 29 Aug 2012 18:12:11 +0000
(14:12 -0400)
tests/socket-test.c
patch
|
blob
|
history
diff --git
a/tests/socket-test.c
b/tests/socket-test.c
index
f0c06f4
..
7cbc1fa
100644
(file)
--- a/
tests/socket-test.c
+++ b/
tests/socket-test.c
@@
-37,7
+37,8
@@
static const struct sockaddr_un example_sockaddr_un;
#define TOO_LONG (1 + sizeof example_sockaddr_un.sun_path)
/* Ensure the connection doesn't fail due to lack of XDG_RUNTIME_DIR. */
-static void require_xdg_runtime_dir()
+static void
+require_xdg_runtime_dir(void)
{
char *val = getenv("XDG_RUNTIME_DIR");
if (!val)