move netdb bits to cbindgen
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
#ifndef _BITS_NETDB_H
|
||||
#define _BITS_NETDB_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define h_errno (*__h_errno_location())
|
||||
# define h_addr h_addr_list[0] /* Address, for backward compatibility.*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif /* _BITS_NETDB_H */
|
||||
@@ -1,6 +1,9 @@
|
||||
sys_includes = ["sys/socket.h", "netinet/in.h", "features.h"]
|
||||
include_guard = "_RELIBC_NETDB_H"
|
||||
trailer = "#include <bits/netdb.h>"
|
||||
trailer = """
|
||||
#define h_errno (*__h_errno_location())
|
||||
# define h_addr h_addr_list[0] /* Address, for backward compatibility.*/
|
||||
"""
|
||||
language = "C"
|
||||
style = "Tag"
|
||||
no_includes = true
|
||||
|
||||
Reference in New Issue
Block a user