summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-06-30 19:34:20 -0400
committerAndreas Kling <kling@serenityos.org>2020-07-03 19:37:28 +0200
commit6d5bd8c76b1eec679ec6ca8201eef6ec5ff21a9e (patch)
tree643727eaf81dff6c54669e5d9000c7fa8f7cada0
parentcbbd55bd6b5d7816eaa059bd7097618f061c1f74 (diff)
downloadserenity-6d5bd8c76b1eec679ec6ca8201eef6ec5ff21a9e.zip
LibC: Minor style fix for getresuid/getresgid
-rw-r--r--Libraries/LibC/unistd.cpp2
-rw-r--r--Libraries/LibC/unistd.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibC/unistd.cpp b/Libraries/LibC/unistd.cpp
index c33b1fe7d2..68931259a3 100644
--- a/Libraries/LibC/unistd.cpp
+++ b/Libraries/LibC/unistd.cpp
@@ -212,7 +212,7 @@ int getresuid(uid_t* ruid, uid_t* euid, uid_t* suid)
return syscall(SC_getresuid, ruid, euid, suid);
}
-int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid)
+int getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid)
{
return syscall(SC_getresgid, rgid, egid, sgid);
}
diff --git a/Libraries/LibC/unistd.h b/Libraries/LibC/unistd.h
index af72d4fc82..8a9687dc39 100644
--- a/Libraries/LibC/unistd.h
+++ b/Libraries/LibC/unistd.h
@@ -84,8 +84,8 @@ uid_t getuid();
gid_t getgid();
pid_t getpid();
pid_t getppid();
-int getresuid(uid_t *, uid_t *, uid_t *);
-int getresgid(gid_t *, gid_t *, gid_t *);
+int getresuid(uid_t*, uid_t*, uid_t*);
+int getresgid(gid_t*, gid_t*, gid_t*);
int getgroups(int size, gid_t list[]);
int setgroups(size_t, const gid_t*);
int seteuid(uid_t);