summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/isatty_r.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-16 08:21:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-26 09:13:19 +0100
commitf97536dcd310a1a15426dcd411d55367019879fc (patch)
treed37a1e12bac98a4df4a2dd70d5de3ee99f23d821 /cpukit/libcsupport/src/isatty_r.c
parentbasdefs.h: Add and use RTEMS_DEPRECATED (diff)
downloadrtems-f97536dcd310a1a15426dcd411d55367019879fc.tar.bz2
basdefs.h: Add and use RTEMS_UNUSED
Diffstat (limited to 'cpukit/libcsupport/src/isatty_r.c')
-rw-r--r--cpukit/libcsupport/src/isatty_r.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/isatty_r.c b/cpukit/libcsupport/src/isatty_r.c
index 89df9a745a..a23417245c 100644
--- a/cpukit/libcsupport/src/isatty_r.c
+++ b/cpukit/libcsupport/src/isatty_r.c
@@ -28,10 +28,11 @@
#include <sys/stat.h>
int _isatty_r(
- struct _reent *ptr __attribute__((unused)),
+ struct _reent *ptr,
int fd
)
{
+ (void) ptr;
return isatty( fd );
}
#endif