From 2be6e0ed142bac669398a9ad26d336666fa53216 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 29 Aug 2012 14:12:11 -0400 Subject: [PATCH] tests: Quiet warning --- tests/socket-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.7.4