Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Musl
提交
28bde3b7
T
Third Party Musl
项目概览
OpenHarmony
/
Third Party Musl
1 年多 前同步成功
通知
37
Star
125
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Musl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
28bde3b7
编写于
4月 11, 2011
作者:
R
Rich Felker
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cleanup types stuff in headers, fix missing u_int*_t in sys/types.h
上级
dae17a1a
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
19 addition
and
29 deletion
+19
-29
arch/i386/bits/alltypes.h.sh
arch/i386/bits/alltypes.h.sh
+0
-11
arch/x86_64/bits/alltypes.h.sh
arch/x86_64/bits/alltypes.h.sh
+0
-11
include/stdint.h
include/stdint.h
+10
-0
include/sys/types.h
include/sys/types.h
+9
-7
未找到文件。
arch/i386/bits/alltypes.h.sh
浏览文件 @
28bde3b7
...
...
@@ -36,21 +36,10 @@ TYPEDEF unsigned short uint16_t;
TYPEDEF unsigned int uint32_t;
TYPEDEF unsigned long long uint64_t;
TYPEDEF unsigned char __uint8_t;
TYPEDEF unsigned short __uint16_t;
TYPEDEF unsigned int __uint32_t;
TYPEDEF unsigned long long __uint64_t;
TYPEDEF int8_t int_least8_t;
TYPEDEF int16_t int_least16_t;
TYPEDEF int32_t int_least32_t;
TYPEDEF int64_t int_least64_t;
TYPEDEF uint8_t uint_least8_t;
TYPEDEF uint16_t uint_least16_t;
TYPEDEF uint32_t uint_least32_t;
TYPEDEF uint64_t uint_least64_t;
TYPEDEF int8_t int_fast8_t;
TYPEDEF int int_fast16_t;
TYPEDEF int int_fast32_t;
...
...
arch/x86_64/bits/alltypes.h.sh
浏览文件 @
28bde3b7
...
...
@@ -36,21 +36,10 @@ TYPEDEF unsigned short uint16_t;
TYPEDEF unsigned int uint32_t;
TYPEDEF unsigned long uint64_t;
TYPEDEF unsigned char __uint8_t;
TYPEDEF unsigned short __uint16_t;
TYPEDEF unsigned int __uint32_t;
TYPEDEF unsigned long __uint64_t;
TYPEDEF int8_t int_least8_t;
TYPEDEF int16_t int_least16_t;
TYPEDEF int32_t int_least32_t;
TYPEDEF int64_t int_least64_t;
TYPEDEF uint8_t uint_least8_t;
TYPEDEF uint16_t uint_least16_t;
TYPEDEF uint32_t uint_least32_t;
TYPEDEF uint64_t uint_least64_t;
TYPEDEF int8_t int_fast8_t;
TYPEDEF int int_fast16_t;
TYPEDEF int int_fast32_t;
...
...
include/stdint.h
浏览文件 @
28bde3b7
...
...
@@ -38,6 +38,16 @@
#include <bits/alltypes.h>
typedef
int8_t
int_least8_t
;
typedef
int16_t
int_least16_t
;
typedef
int32_t
int_least32_t
;
typedef
int64_t
int_least64_t
;
typedef
uint8_t
uint_least8_t
;
typedef
uint16_t
uint_least16_t
;
typedef
uint32_t
uint_least32_t
;
typedef
uint64_t
uint_least64_t
;
#if !defined __cplusplus || defined __STDC_LIMIT_MACROS
#define INT8_MIN (-1-0x7f)
...
...
include/sys/types.h
浏览文件 @
28bde3b7
...
...
@@ -23,12 +23,9 @@ extern "C" {
#define __NEED_int32_t
#define __NEED_int64_t
#define __NEED_u_int8_t
#define __NEED_u_int16_t
#define __NEED_u_int32_t
#define __NEED_u_int64_t
#define __NEED_register_t
#define __NEED___uint16_t
#define __NEED___uint32_t
#define __NEED___uint64_t
#define __NEED_blkcnt_t
#define __NEED_fsblkcnt_t
...
...
@@ -37,7 +34,6 @@ extern "C" {
#define __NEED_id_t
#define __NEED_key_t
#define __NEED_clock_t
#define __NEED_useconds_t
#define __NEED_suseconds_t
#define __NEED_blksize_t
...
...
@@ -57,6 +53,11 @@ extern "C" {
#include <bits/alltypes.h>
typedef
unsigned
char
u_int8_t
;
typedef
__uint16_t
u_int16_t
;
typedef
__uint32_t
u_int32_t
;
typedef
__uint64_t
u_int64_t
;
#ifdef _GNU_SOURCE
typedef
unsigned
long
caddr_t
;
typedef
unsigned
char
u_char
;
...
...
@@ -65,6 +66,7 @@ typedef unsigned u_int, uint;
typedef
unsigned
long
u_long
,
ulong
;
typedef
long
long
quad_t
;
typedef
unsigned
long
long
u_quad_t
;
typedef
long
register_t
;
#include <endian.h>
#include <sys/select.h>
#include <sys/sysmacros.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录