summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/tcgetpgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/tcgetpgrp.c')
-rw-r--r--cpukit/libcsupport/src/tcgetpgrp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/tcgetpgrp.c b/cpukit/libcsupport/src/tcgetpgrp.c
index 5bbf9c67b8..61585b1826 100644
--- a/cpukit/libcsupport/src/tcgetpgrp.c
+++ b/cpukit/libcsupport/src/tcgetpgrp.c
@@ -26,8 +26,9 @@
/**
* POSIX 1003.1b 7.2.3 - Get Foreground Process Group ID
*/
-pid_t tcgetpgrp(int fd __attribute__((unused)))
+pid_t tcgetpgrp(int fd)
{
+ (void) fd;
return getpid();
}