[rtems commit] shell/dd-misc.c: Rename __unused to avoid conflict with new <sys/cdefs.h>

Joel Sherrill joel at rtems.org
Wed Sep 5 22:42:32 UTC 2012


Module:    rtems
Branch:    master
Commit:    d3c86023429fa2f7f14447242d70cc94851906b3
Changeset: http://git.rtems.org/rtems/commit/?id=d3c86023429fa2f7f14447242d70cc94851906b3

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Wed Sep  5 12:25:38 2012 -0500

shell/dd-misc.c: Rename __unused to avoid conflict with new <sys/cdefs.h>

---

 cpukit/libmisc/shell/dd-misc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpukit/libmisc/shell/dd-misc.c b/cpukit/libmisc/shell/dd-misc.c
index dc5cc0e..73cefc7 100644
--- a/cpukit/libmisc/shell/dd-misc.c
+++ b/cpukit/libmisc/shell/dd-misc.c
@@ -92,7 +92,7 @@ summary(rtems_shell_dd_globals* globals)
 
 /* ARGSUSED */
 void
-summaryx(rtems_shell_dd_globals* globals, int __unused)
+summaryx(rtems_shell_dd_globals* globals, int __unused_arg)
 {
 	int save_errno = errno;
 




More information about the vc mailing list