File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed
libc/include/llvm-libc-types Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ add_header(float_t HDR float_t.h)
39
39
add_header(gid_t HDR gid_t.h)
40
40
add_header(uid_t HDR uid_t.h)
41
41
add_header(imaxdiv_t HDR imaxdiv_t.h)
42
+ add_header(in_addr_t HDR in_addr_t.h)
43
+ add_header(in_addr HDR in_addr.h DEPENDS .in_addr_t)
42
44
add_header(ino_t HDR ino_t.h)
43
45
add_header(mbstate_t HDR mbstate_t.h)
44
46
add_header(mode_t HDR mode_t.h)
Original file line number Diff line number Diff line change
1
+ //===-- Definition of in_addr type ----------------------------------------===//
2
+ //
3
+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
+ // See https://llvm.org/LICENSE.txt for license information.
5
+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
+ //
7
+ //===----------------------------------------------------------------------===//
8
+
9
+ #ifndef LLVM_LIBC_TYPES_IN_ADDR_H
10
+ #define LLVM_LIBC_TYPES_IN_ADDR_H
11
+
12
+ #include "in_addr_t.h"
13
+
14
+ typedef struct {
15
+ in_addr_t s_addr ;
16
+ } in_addr ;
17
+
18
+ #endif // LLVM_LIBC_TYPES_IN_ADDR_H
Original file line number Diff line number Diff line change
1
+ //===-- Definition of in_addr_t type --------------------------------------===//
2
+ //
3
+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
+ // See https://llvm.org/LICENSE.txt for license information.
5
+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
+ //
7
+ //===----------------------------------------------------------------------===//
8
+
9
+ #ifndef LLVM_LIBC_TYPES_IN_ADDR_T_H
10
+ #define LLVM_LIBC_TYPES_IN_ADDR_T_H
11
+
12
+ typedef __UINT32_TYPE__ in_addr_t ;
13
+
14
+ #endif // LLVM_LIBC_TYPES_IN_ADDR_T_H
You can’t perform that action at this time.
0 commit comments