audk/StdLib/BsdSocketLib
Thiebaud Weksteen cb12056591 StdLib/BsdSocketLib: Remove unused variables
TianoCore BZ#677

Remove unused variables and turn nsdispatch macro into a function. This
is not what is recommended in the bug ticket but avoid heavier
modification of the code (and deviation from upsteam).

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Thiebaud Weksteen <tweek@google.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2017-11-13 07:39:06 -08:00
..
BsdSocketLib.inf Add missing IPv6 address definitions. 2012-06-14 18:16:01 +00:00
Ip6Addr_Any.c Add missing IPv6 address definitions. 2012-06-14 18:16:01 +00:00
Ip6Addr_LinkLocal_AllNodes.c Add missing IPv6 address definitions. 2012-06-14 18:16:01 +00:00
Ip6Addr_LinkLocal_AllRouters.c Add missing IPv6 address definitions. 2012-06-14 18:16:01 +00:00
Ip6Addr_Loopback.c Add missing IPv6 address definitions. 2012-06-14 18:16:01 +00:00
Ip6Addr_NodeLocal_AllNodes.c Add missing IPv6 address definitions. 2012-06-14 18:16:01 +00:00
SocketInternals.h * StdLib.dsc was changed to always build the sockets code. 2012-02-17 23:43:35 +00:00
Socklib_internals.h Update the sockets library code 2011-09-30 23:02:35 +00:00
accept.c Update the sockets library code 2011-09-30 23:02:35 +00:00
base64.c * StdLib.dsc was changed to always build the sockets code. 2012-02-17 23:43:35 +00:00
bind.c StdLib: Fix more GCC warnings/errors caused by variables being set but not used. 2014-10-31 17:50:33 +00:00
close.c Fixed close for socket to properly release the socket context structure and the handle. 2012-10-08 21:39:35 +00:00
connect.c Update the sockets library code 2011-09-30 23:02:35 +00:00
errno.c Update the sockets library code 2011-09-30 23:02:35 +00:00
getaddrinfo.c StdLib/BsdSocketLib: Remove unused variables 2017-11-13 07:39:06 -08:00
gethostbydns.c StdLib/BsdSocketLib: Remove unused variables 2017-11-13 07:39:06 -08:00
gethostbyht.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
gethostbynis.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
gethostnamadr.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
gethostname.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getnameinfo.c StdLib: Fix GCC warnings/errors caused by variables being set but not used. 2014-10-30 01:05:22 +00:00
getnetbydns.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getnetbyht.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getnetbynis.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getnetnamadr.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getpeername.c Update the sockets library code 2011-09-30 23:02:35 +00:00
getproto.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getprotoent.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getprotoname.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getservbyname.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getservbyport.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getservent.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
getsockname.c Update the sockets library code 2011-09-30 23:02:35 +00:00
getsockopt.c StdLib: Fix more GCC warnings/errors caused by variables being set but not used. 2014-10-31 17:50:33 +00:00
herror.c Fix some errors detected by the GCC 4.4 compiler. 2012-02-10 03:30:41 +00:00
inet_net_ntop.c * StdLib.dsc was changed to always build the sockets code. 2012-02-17 23:43:35 +00:00
inet_net_pton.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
inet_neta.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
inet_pton.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
listen.c StdLib: Fix more GCC warnings/errors caused by variables being set but not used. 2014-10-31 17:50:33 +00:00
map_v4v6.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
ns_addr.c StdLib/BsdSocketLib: Fix function declaration mismatch with definition. 2014-12-02 21:30:41 +00:00
ns_name.c Fix some errors detected by the GCC 4.4 compiler. 2012-02-10 03:30:41 +00:00
ns_netint.c Fix some errors detected by the GCC 4.4 compiler. 2012-02-10 03:30:41 +00:00
ns_ntoa.c StdLib/BsdSocketLib: Fix function declaration mismatch with definition. 2014-12-02 21:30:41 +00:00
ns_parse.c StdLib: Fix possible compiler warnings when doing enumerate type comparison. 2012-09-03 01:07:54 +00:00
ns_print.c StdLib: Fix parameter type errors. 2014-09-17 20:58:16 +00:00
ns_ttl.c Fix some errors detected by the GCC 4.4 compiler. 2012-02-10 03:30:41 +00:00
nsap_addr.c Fix some errors detected by the GCC 4.4 compiler. 2012-02-10 03:30:41 +00:00
poll.c StdLib: Fix more GCC warnings/errors caused by variables being set but not used. 2014-10-31 17:50:33 +00:00
read.c * StdLib.dsc was changed to always build the sockets code. 2012-02-17 23:43:35 +00:00
recv.c Update the sockets library code 2011-09-30 23:02:35 +00:00
recvfrom.c Update the sockets library code 2011-09-30 23:02:35 +00:00
res_comp.c StdLib: Fix GCC warnings/errors caused by variables being set but not used. 2014-10-30 01:05:22 +00:00
res_config.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
res_data.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
res_debug.c StdLib: Fix parameter type errors. 2014-09-17 20:58:16 +00:00
res_init.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
res_mkquery.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
res_mkupdate.c StdLib/BsdSocketLib: Fix minor memory leak by freeing rrecp on error return. 2016-02-17 16:11:29 -08:00
res_query.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
res_send.c * StdLib.dsc was changed to always build the sockets code. 2012-02-17 23:43:35 +00:00
res_update.c StdLib: Fix more GCC warnings/errors caused by variables being set but not used. 2014-10-31 17:50:33 +00:00
send.c Update the sockets library code 2011-09-30 23:02:35 +00:00
sendto.c Update the sockets library code 2011-09-30 23:02:35 +00:00
sethostname.c Update the sockets library code 2011-09-30 23:02:35 +00:00
setsockopt.c StdLib: Fix more GCC warnings/errors caused by variables being set but not used. 2014-10-31 17:50:33 +00:00
shutdown.c Update the sockets library code 2011-09-30 23:02:35 +00:00
socket.c Fix sockets use of file descriptors which was broken by the additional validation in StdLib/LibC/Uefi/SysCall.c/write added by revision 13989. 2013-02-08 21:26:46 +00:00
write.c * StdLib.dsc was changed to always build the sockets code. 2012-02-17 23:43:35 +00:00