Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da36e6db authored by Colin Ian King's avatar Colin Ian King Committed by J. Bruce Fields
Browse files

sunrcp: make function _svc_create_xprt static



The function _svc_create_xprt is local to the source and
does not need to be in global scope, so make it static.

Cleans up sparse warning:
symbol '_svc_create_xprt' was not declared. Should it be static?

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarJeff Layton <jlayton@poochiereds.net>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent e9d4bf21
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -250,7 +250,7 @@ void svc_add_new_perm_xprt(struct svc_serv *serv, struct svc_xprt *new)
	svc_xprt_received(new);
}

int _svc_create_xprt(struct svc_serv *serv, const char *xprt_name,
static int _svc_create_xprt(struct svc_serv *serv, const char *xprt_name,
			    struct net *net, const int family,
			    const unsigned short port, int flags)
{