[3/9] alpine: use uid_t instead of __uid_t

Submitted by Andrei Vagin on Sept. 29, 2017, 10:41 p.m.

Details

Message ID 20170929224145.6764-3-avagin@openvz.org
State Accepted
Series "Series without cover letter"
Commit 5424d6205ef860af2e2f529cab58b0b41865ca59
Headers show

Commit Message

Andrei Vagin Sept. 29, 2017, 10:41 p.m.
From: Andrei Vagin <avagin@virtuozzo.com>

__uid_t isn't public

Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
---
 test/zdtm/static/pid00.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/test/zdtm/static/pid00.c b/test/zdtm/static/pid00.c
index e40bf73ae..4fd3e09aa 100644
--- a/test/zdtm/static/pid00.c
+++ b/test/zdtm/static/pid00.c
@@ -13,9 +13,9 @@  int setfsgid(uid_t fsgid);
 int main(int argc, char **argv)
 {
 	int pid, s_p[2], f_p[2], r_p[3];
-	const __uid_t w_ruid = 1, w_euid = 2, w_suid = 3, w_fsuid = w_euid;
-	const __uid_t w_rgid = 5, w_egid = 6, w_sgid = 7, w_fsgid = 8;
-	__uid_t rid, eid, sid, fsid;
+	const uid_t w_ruid = 1, w_euid = 2, w_suid = 3, w_fsuid = w_euid;
+	const gid_t w_rgid = 5, w_egid = 6, w_sgid = 7, w_fsgid = 8;
+	uid_t rid, eid, sid, fsid;
 	char res = 'x';
 
 	test_init(argc, argv);