From f97536dcd310a1a15426dcd411d55367019879fc Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 16 Oct 2015 08:21:48 +0200 Subject: basdefs.h: Add and use RTEMS_UNUSED --- cpukit/libcsupport/src/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libcsupport/src/open.c') diff --git a/cpukit/libcsupport/src/open.c b/cpukit/libcsupport/src/open.c index 4fb2ea2d93..62ce507284 100644 --- a/cpukit/libcsupport/src/open.c +++ b/cpukit/libcsupport/src/open.c @@ -161,7 +161,7 @@ int open( const char *path, int oflag, ... ) * This is the Newlib dependent reentrant version of open(). */ int _open_r( - struct _reent *ptr __attribute__((unused)), + struct _reent *ptr RTEMS_UNUSED, const char *buf, int oflag, int mode -- cgit v1.2.3