diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-16 08:21:48 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-26 09:13:19 +0100 |
commit | f97536dcd310a1a15426dcd411d55367019879fc (patch) | |
tree | d37a1e12bac98a4df4a2dd70d5de3ee99f23d821 /c/src/lib/libbsp/arm/shared | |
parent | basdefs.h: Add and use RTEMS_DEPRECATED (diff) | |
download | rtems-f97536dcd310a1a15426dcd411d55367019879fc.tar.bz2 |
basdefs.h: Add and use RTEMS_UNUSED
Diffstat (limited to 'c/src/lib/libbsp/arm/shared')
-rw-r--r-- | c/src/lib/libbsp/arm/shared/lpc/network/lpc-ethernet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/arm/shared/lpc/network/lpc-ethernet.c b/c/src/lib/libbsp/arm/shared/lpc/network/lpc-ethernet.c index f1d019e7c1..170de7fcaa 100644 --- a/c/src/lib/libbsp/arm/shared/lpc/network/lpc-ethernet.c +++ b/c/src/lib/libbsp/arm/shared/lpc/network/lpc-ethernet.c @@ -1127,7 +1127,7 @@ static uint32_t lpc_eth_mdio_read_anlpar(int phy) static int lpc_eth_mdio_read( int phy, - void *arg __attribute__((unused)), + void *arg RTEMS_UNUSED, unsigned reg, uint32_t *val ) @@ -1152,7 +1152,7 @@ static int lpc_eth_mdio_read( static int lpc_eth_mdio_write( int phy, - void *arg __attribute__((unused)), + void *arg RTEMS_UNUSED, unsigned reg, uint32_t val ) @@ -1811,7 +1811,7 @@ cleanup: } static int lpc_eth_detach( - struct rtems_bsdnet_ifconfig *config __attribute__((unused)) + struct rtems_bsdnet_ifconfig *config RTEMS_UNUSED ) { /* FIXME: Detach the interface from the upper layers? */ |