forked from Imagelibrary/rtems
Add local version of __unused macro.
This commit is contained in:
@@ -61,6 +61,10 @@ __FBSDID("$FreeBSD: src/usr.bin/hexdump/odsyntax.c,v 1.17 2004/07/22 13:14:42 jo
|
|||||||
|
|
||||||
#define PADDING " "
|
#define PADDING " "
|
||||||
|
|
||||||
|
#ifndef __unused
|
||||||
|
#define __unused __attribute((__unused__))
|
||||||
|
#endif
|
||||||
|
|
||||||
#if RTEMS_REMOVED
|
#if RTEMS_REMOVED
|
||||||
int odmode;
|
int odmode;
|
||||||
#endif
|
#endif
|
||||||
@@ -321,7 +325,6 @@ odformat(rtems_shell_hexdump_globals* globals, const char *fmt)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#define __unused
|
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
odformatfp(rtems_shell_hexdump_globals* globals, char fchar __unused, const char *fmt)
|
odformatfp(rtems_shell_hexdump_globals* globals, char fchar __unused, const char *fmt)
|
||||||
|
|||||||
@@ -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 "dd.h"
|
||||||
#include "extern-dd.h"
|
#include "extern-dd.h"
|
||||||
|
|
||||||
|
#ifndef __unused
|
||||||
|
#define __unused __attribute((__unused__))
|
||||||
|
#endif
|
||||||
|
|
||||||
#define DD_DEFFILEMODE 0
|
#define DD_DEFFILEMODE 0
|
||||||
|
|
||||||
static void dd_close(rtems_shell_dd_globals* globals);
|
static void dd_close(rtems_shell_dd_globals* globals);
|
||||||
|
|||||||
Reference in New Issue
Block a user