cleanup the bits headers

This commit is contained in:
auronandace
2026-06-10 11:16:22 +01:00
parent da1baa9e4a
commit 73a111b67e
41 changed files with 74 additions and 88 deletions
+1 -2
View File
@@ -1,6 +1,6 @@
# POSIX header spec: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_socket.h.html
#
# This type is split out to prevent importing all of sys/socket.h to other headers.
# This type is split out to prevent importing all of sys/socket.h into other headers.
#
# POSIX headers that require socklen_t:
# - arpa/inet.h
@@ -12,7 +12,6 @@
sys_includes = ["stdint.h"]
include_guard = "_RELIBC_BITS_SOCKLEN_T_H"
language = "C"
style = "type"
no_includes = true
cpp_compat = true
[export]
+3
View File
@@ -1 +1,4 @@
/// An integer type of at least 32bits width.
///
/// Used in various length representations relating to sockets.
pub type socklen_t = u32;