On Tue, Oct 09, 2018 at 10:54:22PM +0200, Maxime Coquelin wrote: > Signed-off-by: Dr. David Alan Gilbert <[email protected]> > Signed-off-by: Maxime Coquelin <[email protected]> > --- > lib/librte_vhost/vhost_user.c | 49 ++++++++++++++++++++++++++++++++--- > 1 file changed, 46 insertions(+), 3 deletions(-) > > diff --git a/lib/librte_vhost/vhost_user.c b/lib/librte_vhost/vhost_user.c > index 96290fdb4..170d258c4 100644 > --- a/lib/librte_vhost/vhost_user.c > +++ b/lib/librte_vhost/vhost_user.c > @@ -79,6 +79,11 @@ static const char *vhost_message_str[VHOST_USER_MAX] = { > [VHOST_USER_POSTCOPY_LISTEN] = "VHOST_USER_POSTCOPY_LISTEN", > }; > > +static int > +send_vhost_reply(int sockfd, struct VhostUserMsg *msg); > +static int > +read_vhost_message(int sockfd, struct VhostUserMsg *msg);
Something like this looks better: static int send_vhost_reply(int sockfd, struct VhostUserMsg *msg); static int read_vhost_message(int sockfd, struct VhostUserMsg *msg);

