Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Musl
提交
6b8d0c01
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看板
未验证
提交
6b8d0c01
编写于
7月 27, 2022
作者:
O
openharmony_ci
提交者:
Gitee
7月 27, 2022
浏览文件
操作
浏览文件
下载
差异文件
!424 fix: iccarm适配去除多余的musl FILE结构体定义
Merge pull request !424 from Zhaotianyu/20220725iccarm_FILE
上级
643d7ff1
75b919f1
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
7 addition
and
45 deletion
+7
-45
porting/liteos_m_iccarm/kernel/include/bits/alltypes.h
porting/liteos_m_iccarm/kernel/include/bits/alltypes.h
+0
-36
porting/liteos_m_iccarm/kernel/include/grp.h
porting/liteos_m_iccarm/kernel/include/grp.h
+2
-3
porting/liteos_m_iccarm/kernel/include/mntent.h
porting/liteos_m_iccarm/kernel/include/mntent.h
+1
-2
porting/liteos_m_iccarm/kernel/include/pwd.h
porting/liteos_m_iccarm/kernel/include/pwd.h
+3
-3
porting/liteos_m_iccarm/kernel/include/shadow.h
porting/liteos_m_iccarm/kernel/include/shadow.h
+1
-1
未找到文件。
porting/liteos_m_iccarm/kernel/include/bits/alltypes.h
浏览文件 @
6b8d0c01
...
...
@@ -307,42 +307,6 @@ typedef struct { unsigned __attr[2]; } pthread_rwlockattr_t;
#define __DEFINED_pthread_rwlockattr_t
#endif
#if defined(__NEED_struct__IO_FILE) && !defined(__DEFINED_struct__IO_FILE)
struct
_IO_FILE
{
unsigned
flags
;
unsigned
char
*
rpos
,
*
rend
;
int
(
*
close
)(
struct
_IO_FILE
*
);
unsigned
char
*
wend
,
*
wpos
;
unsigned
char
*
mustbezero_1
;
unsigned
char
*
wbase
;
size_t
(
*
read
)(
struct
_IO_FILE
*
,
unsigned
char
*
,
size_t
);
size_t
(
*
write
)(
struct
_IO_FILE
*
,
const
unsigned
char
*
,
size_t
);
off_t
(
*
seek
)(
struct
_IO_FILE
*
,
off_t
,
int
);
unsigned
char
*
buf
;
size_t
buf_size
;
struct
_IO_FILE
*
prev
,
*
next
;
int
fd
;
int
pipe_pid
;
int
mode
;
void
*
lock
;
int
lbf
;
void
*
cookie
;
off_t
off
;
char
*
getln_buf
;
void
*
mustbezero_2
;
unsigned
char
*
shend
;
off_t
shlim
,
shcnt
;
struct
__locale_struct
*
locale
;
};
#define __DEFINED_struct__IO_FILE
#endif
#if defined(__NEED_FILE) && !defined(__DEFINED_FILE)
typedef
struct
_IO_FILE
FILE
;
#define __DEFINED_FILE
#endif
#if defined(__NEED___isoc_va_list) && !defined(__DEFINED___isoc_va_list)
typedef
__builtin_va_list
__isoc_va_list
;
#define __DEFINED___isoc_va_list
...
...
porting/liteos_m_iccarm/kernel/include/grp.h
浏览文件 @
6b8d0c01
...
...
@@ -10,12 +10,11 @@ extern "C" {
#define __NEED_size_t
#define __NEED_gid_t
#include <bits/alltypes.h>
#ifdef _GNU_SOURCE
#
define __NEED_FILE
#
include <stdio.h>
#endif
#include <bits/alltypes.h>
struct
group
{
char
*
gr_name
;
char
*
gr_passwd
;
...
...
porting/liteos_m_iccarm/kernel/include/mntent.h
浏览文件 @
6b8d0c01
...
...
@@ -5,8 +5,7 @@
extern
"C"
{
#endif
#define __NEED_FILE
#include <bits/alltypes.h>
#include <stdio.h>
#define MOUNTED "/etc/mtab"
...
...
porting/liteos_m_iccarm/kernel/include/pwd.h
浏览文件 @
6b8d0c01
...
...
@@ -11,12 +11,12 @@ extern "C" {
#define __NEED_uid_t
#define __NEED_gid_t
#include <bits/alltypes.h>
#ifdef _GNU_SOURCE
#
define __NEED_FILE
#
include <stdio.h>
#endif
#include <bits/alltypes.h>
struct
passwd
{
char
*
pw_name
;
char
*
pw_passwd
;
...
...
porting/liteos_m_iccarm/kernel/include/shadow.h
浏览文件 @
6b8d0c01
...
...
@@ -5,10 +5,10 @@
extern
"C"
{
#endif
#define __NEED_FILE
#define __NEED_size_t
#include <bits/alltypes.h>
#include <stdio.h>
#define SHADOW "/etc/shadow"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录