summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/stat.c
diff options
context:
space:
mode:
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
)