diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-03-24 09:38:01 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-03-24 09:38:01 +0000 |
commit | 80e239fb4679a6c52eebd168fa1be5baad3f409c (patch) | |
tree | 2e5b16444c1f290e8df59688657bc8a713bdc318 /cpukit/libmisc/shell/main_dd.c | |
parent | 2011-03-24 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-80e239fb4679a6c52eebd168fa1be5baad3f409c.tar.bz2 |
Add local version of __unused macro.
Diffstat (limited to 'cpukit/libmisc/shell/main_dd.c')
-rw-r--r-- | cpukit/libmisc/shell/main_dd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libmisc/shell/main_dd.c b/cpukit/libmisc/shell/main_dd.c index 930d382a97..b0e16fdf54 100644 --- a/cpukit/libmisc/shell/main_dd.c +++ b/cpukit/libmisc/shell/main_dd.c @@ -76,6 +76,10 @@ __FBSDID("$FreeBSD: src/bin/dd/dd.c,v 1.43 2004/08/15 19:10:05 rwatson Exp $"); #include "dd.h" #include "extern-dd.h" +#ifndef __unused +#define __unused __attribute((__unused__)) +#endif + #define DD_DEFFILEMODE 0 static void dd_close(rtems_shell_dd_globals* globals); |