diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-08-29 14:12:11 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-08-29 14:12:11 -0400 |
commit | 2be6e0ed142bac669398a9ad26d336666fa53216 (patch) | |
tree | 44b8df67c170eca8716663368cacf0c5de0e4bf8 /tests | |
parent | 91931bcabb0fba1a8b76f92cefa33fdeb1b74a8b (diff) |
tests: Quiet warning
Diffstat (limited to 'tests')
-rw-r--r-- | tests/socket-test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/socket-test.c b/tests/socket-test.c index f0c06f4..7cbc1fa 100644 --- 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) |