]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commit
Define getaddrinfo() and freeaddrinfo() as functions instead of wrappers
authorBogdan Lascu <lascu.bogdan96@gmail.com>
Fri, 23 Aug 2019 11:53:44 +0000 (14:53 +0300)
committerCostin Lupu <costin.lup@gmail.com>
Mon, 26 Aug 2019 14:44:38 +0000 (17:44 +0300)
commitb0dc593d9b8d4f933b3e907b2f41bd4bc5c669a2
treedce332e4a33f2987658726e0c8aff9aa7fe916bf
parent66a19b262c1aa610ea83f237dd08ec46e149453d
Define getaddrinfo() and freeaddrinfo() as functions instead of wrappers

Commit 28138d6d added getaddrinfo() and freeaddrinfo() as wrappers. However,
it's not necessary for a source file to include the netdb.h header where they
are defined when it uses them. So their definitions are needed as functions and
not as macros.

Signed-off-by: Bogdan Lascu <lascu.bogdan96@gmail.com>
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Charalampos Mainas <charalampos.mainas@neclab.eu>
exportsyms.uk
include/netdb.h
inet.c