Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Musl
提交
455f9685
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
455f9685
编写于
9月 08, 2012
作者:
R
Rich Felker
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove all remaining redundant __restrict/__inline/_Noreturn defs
上级
b7afd7a7
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
14 addition
and
76 deletion
+14
-76
include/arpa/inet.h
include/arpa/inet.h
+1
-6
include/byteswap.h
include/byteswap.h
+1
-4
include/iconv.h
include/iconv.h
+1
-5
include/inttypes.h
include/inttypes.h
+1
-6
include/monetary.h
include/monetary.h
+1
-5
include/mqueue.h
include/mqueue.h
+1
-5
include/pthread.h
include/pthread.h
+1
-12
include/regex.h
include/regex.h
+1
-5
include/semaphore.h
include/semaphore.h
+1
-5
include/spawn.h
include/spawn.h
+1
-5
include/sys/select.h
include/sys/select.h
+1
-5
include/sys/socket.h
include/sys/socket.h
+1
-5
include/sys/syscall.h
include/sys/syscall.h
+1
-3
include/wordexp.h
include/wordexp.h
+1
-5
未找到文件。
include/arpa/inet.h
浏览文件 @
455f9685
...
...
@@ -5,12 +5,7 @@
extern
"C"
{
#endif
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
#include <features.h>
#include <netinet/in.h>
#include <inttypes.h>
...
...
include/byteswap.h
浏览文件 @
455f9685
#ifndef _BYTESWAP_H
#define _BYTESWAP_H
#include <features.h>
#include <stdint.h>
#if __STDC_VERSION__ >= 199901L || defined(__cplusplus)
#define __inline inline
#endif
static
__inline
uint16_t
__bswap_16
(
uint16_t
__x
)
{
return
__x
<<
8
|
__x
>>
8
;
...
...
include/iconv.h
浏览文件 @
455f9685
...
...
@@ -5,11 +5,7 @@
extern
"C"
{
#endif
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
#include <features.h>
#define __NEED_size_t
...
...
include/inttypes.h
浏览文件 @
455f9685
...
...
@@ -5,17 +5,12 @@
extern
"C"
{
#endif
#include <features.h>
#include <stdint.h>
#define __NEED_wchar_t
#include <bits/alltypes.h>
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
typedef
struct
{
intmax_t
quot
,
rem
;
}
imaxdiv_t
;
intmax_t
imaxabs
(
intmax_t
);
...
...
include/monetary.h
浏览文件 @
455f9685
...
...
@@ -5,11 +5,7 @@
extern
"C"
{
#endif
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
#include <features.h>
#define __NEED_ssize_t
#define __NEED_size_t
...
...
include/mqueue.h
浏览文件 @
455f9685
...
...
@@ -4,11 +4,7 @@
extern
"C"
{
#endif
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
#include <features.h>
#define __NEED_size_t
#define __NEED_ssize_t
...
...
include/pthread.h
浏览文件 @
455f9685
...
...
@@ -4,18 +4,7 @@
extern
"C"
{
#endif
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
#if __STDC_VERSION__ >= 201112L
#elif defined(__GNUC__)
#define _Noreturn __attribute__((__noreturn__))
#else
#define _Noreturn
#endif
#include <features.h>
#define __NEED_time_t
#define __NEED_clockid_t
...
...
include/regex.h
浏览文件 @
455f9685
...
...
@@ -5,11 +5,7 @@
extern
"C"
{
#endif
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
#include <features.h>
#define __NEED_size_t
...
...
include/semaphore.h
浏览文件 @
455f9685
...
...
@@ -4,11 +4,7 @@
extern
"C"
{
#endif
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
#include <features.h>
#define __NEED_time_t
#define __NEED_struct_timespec
...
...
include/spawn.h
浏览文件 @
455f9685
...
...
@@ -5,11 +5,7 @@
extern
"C"
{
#endif
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
#include <features.h>
#define __NEED_mode_t
#define __NEED_pid_t
...
...
include/sys/select.h
浏览文件 @
455f9685
...
...
@@ -4,11 +4,7 @@
extern
"C"
{
#endif
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
#include <features.h>
#define __NEED_size_t
#define __NEED_time_t
...
...
include/sys/socket.h
浏览文件 @
455f9685
...
...
@@ -4,11 +4,7 @@
extern
"C"
{
#endif
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
#include <features.h>
#define __NEED_socklen_t
#define __NEED_sa_family_t
...
...
include/sys/syscall.h
浏览文件 @
455f9685
...
...
@@ -4,9 +4,7 @@
extern
"C"
{
#endif
#if __STDC_VERSION__ >= 199901L || defined(__cplusplus)
#define __inline inline
#endif
#include <features.h>
long
__syscall_ret
(
unsigned
long
);
long
__syscall
(
long
,
...);
...
...
include/wordexp.h
浏览文件 @
455f9685
...
...
@@ -5,11 +5,7 @@
extern
"C"
{
#endif
#if __STDC_VERSION__ >= 199901L
#define __restrict restrict
#elif !defined(__GNUC__)
#define __restrict
#endif
#include <features.h>
#define __NEED_size_t
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录