summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/stat.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/stat.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/stat.c')
-rw-r--r--cpukit/libcsupport/src/stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/stat.c b/cpukit/libcsupport/src/stat.c
index 7a48f40e5a..f5b72fa282 100644
--- a/cpukit/libcsupport/src/stat.c
+++ b/cpukit/libcsupport/src/stat.c
@@ -69,7 +69,7 @@ int _STAT_NAME( const char *path, struct stat *buf )
* Prototype to avoid warnings
*/
int _STAT_R_NAME(
- struct _reent *ptr __attribute__((unused)),
+ struct _reent *ptr RTEMS_UNUSED,
const char *path,
struct stat *buf
);
@@ -78,7 +78,7 @@ int _STAT_R_NAME(
* This is the Newlib dependent reentrant version of stat() and lstat().
*/
int _STAT_R_NAME(
- struct _reent *ptr __attribute__((unused)),
+ struct _reent *ptr RTEMS_UNUSED,
const char *path,
struct stat *buf
)