use c_ushort instead of u16 for sa_family_t

This commit is contained in:
auronandace
2026-04-15 22:09:43 +01:00
parent f0aaef6336
commit 752ac8f49d
2 changed files with 4 additions and 4 deletions
+1 -3
View File
@@ -7,9 +7,7 @@
# - netinet/in.h
# - sys/socket.h
# - sys/un.h
#
# stdint.h included for uint16_t
sys_includes = ["stdint.h"]
sys_includes = []
include_guard = "_RELIBC_BITS_SA_FAMILY_T_H"
language = "C"
style = "type"
+3 -1
View File
@@ -1 +1,3 @@
pub type sa_family_t = u16;
use crate::platform::types::c_ushort;
pub type sa_family_t = c_ushort;