[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/LWIP PATCH v2 5/5] netdb.h: Add getservbyname() and getservbyport() declarations



Hi Bogdan, Lupu, this also looks ok.

Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>

On 16.08.19, 09:09, "Costin Lupu" <costin.lupu@xxxxxxxxx> wrote:

    The stubs were already defined, but the declarations were missing.
    
    Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
    ---
     include/netdb.h | 3 +++
     1 file changed, 3 insertions(+)
    
    diff --git a/include/netdb.h b/include/netdb.h
    index d31624c..d650499 100644
    --- a/include/netdb.h
    +++ b/include/netdb.h
    @@ -49,3 +49,6 @@ const char *gai_strerror(int errcode);
     int getnameinfo(const struct sockaddr *addr, socklen_t addrlen,
                char *host, socklen_t hostlen,
                char *serv, socklen_t servlen, int flags);
    +
    +struct servent *getservbyname(const char *name, const char *proto);
    +struct servent *getservbyport(int port, const char *proto);
    -- 
    2.20.1
    
    

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.