Displaying 1 result from an estimated 1 matches for "sock_addr_union".
2023 Feb 15
3
[libnbd PATCH v3 04/29] ocaml: rename "sa_u" to "saddr_u"
...s(-)
diff --git a/ocaml/helpers.c b/ocaml/helpers.c
index 6568755bc664..42bcf997a237 100644
--- a/ocaml/helpers.c
+++ b/ocaml/helpers.c
@@ -140,19 +140,19 @@ nbd_internal_unix_sockaddr_to_sa (value sockaddrv,
                                   socklen_t *len)
 {
   CAMLparam1 (sockaddrv);
-  union sock_addr_union sa_u;
+  union sock_addr_union saddr_u;
   socklen_param_type sl; /* this is really an int or socklen_t */
 
   memset (ss, 0, sizeof *ss);
 
 #ifdef HAVE_CAML_UNIX_GET_SOCKADDR
-  caml_unix_get_sockaddr (sockaddrv, &sa_u, &sl);
+  caml_unix_get_sockaddr (sockaddrv, &saddr_u, &sl);...