aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/setegid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/setegid.c')
-rw-r--r--src/unistd/setegid.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unistd/setegid.c b/src/unistd/setegid.c
index e6da2573..7a9ea395 100644
--- a/src/unistd/setegid.c
+++ b/src/unistd/setegid.c
@@ -6,3 +6,11 @@ int setegid(gid_t egid)
{
return __setxid(SYS_setresgid, -1, egid, -1);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif