mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
Fix even more warnings..
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
13517893dd
commit
a954133569
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281411
@ -4,5 +4,6 @@
|
||||
|
||||
PROG= reconnect
|
||||
MAN=
|
||||
WARNS?= 6
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -62,7 +62,7 @@ prepare_ifsun(struct sockaddr_un *ifsun, const char *path)
|
||||
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 *path)
|
||||
err(1, "can't connect to a socket");
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
cleanup(void)
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user