summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setpgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/setpgrp.c')
-rw-r--r--libc/sysdeps/linux/common/setpgrp.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/setpgrp.c b/libc/sysdeps/linux/common/setpgrp.c
index 966bb4da6..38300dc2e 100644
--- a/libc/sysdeps/linux/common/setpgrp.c
+++ b/libc/sysdeps/linux/common/setpgrp.c
@@ -1,8 +1,14 @@
-#define setpgid __setpgid
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
#include <syscall.h>
#include <unistd.h>
+libc_hidden_proto(setpgid)
+
int setpgrp(void)
{
return setpgid(0,0);