Date: Sat, 11 Apr 2015 07:37:21 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281411 - head/tools/regression/sockets/reconnect Message-ID: <201504110737.t3B7bLJt048129@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sat Apr 11 07:37:21 2015 New Revision: 281411 URL: https://svnweb.freebsd.org/changeset/base/281411 Log: Fix even more warnings.. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/tools/regression/sockets/reconnect/Makefile head/tools/regression/sockets/reconnect/reconnect.c Modified: head/tools/regression/sockets/reconnect/Makefile ============================================================================== --- head/tools/regression/sockets/reconnect/Makefile Sat Apr 11 07:35:30 2015 (r281410) +++ head/tools/regression/sockets/reconnect/Makefile Sat Apr 11 07:37:21 2015 (r281411) @@ -4,5 +4,6 @@ PROG= reconnect MAN= +WARNS?= 6 .include <bsd.prog.mk> Modified: head/tools/regression/sockets/reconnect/reconnect.c ============================================================================== --- head/tools/regression/sockets/reconnect/reconnect.c Sat Apr 11 07:35:30 2015 (r281410) +++ head/tools/regression/sockets/reconnect/reconnect.c Sat Apr 11 07:37:21 2015 (r281411) @@ -62,7 +62,7 @@ prepare_ifsun(struct sockaddr_un *ifsun, strcpy(ifsun->sun_path, path); } -int +static int create_uds_server(const char *path) { struct sockaddr_un ifsun; @@ -82,7 +82,7 @@ create_uds_server(const char *path) return sock; } -void +static void connect_uds_server(int sock, const char *path) { struct sockaddr_un ifsun; @@ -95,7 +95,7 @@ connect_uds_server(int sock, const char err(1, "can't connect to a socket"); } -void +static void cleanup(void) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504110737.t3B7bLJt048129>