diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-01-20 15:27:13 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-01-30 15:04:19 +0100 |
commit | 7831313a174c92057e0b17d79db75f45af7f9ecb (patch) | |
tree | c06d7828b525a7ed23361c45a43f08962888d511 /testsuite/commands01 | |
parent | Add an ARP packet processor (diff) | |
download | rtems-libbsd-7831313a174c92057e0b17d79db75f45af7f9ecb.tar.bz2 |
Add and use RTEMS_BSD_ARGC()
Diffstat (limited to 'testsuite/commands01')
-rw-r--r-- | testsuite/commands01/test_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/commands01/test_main.c b/testsuite/commands01/test_main.c index c84ba775..7061e90c 100644 --- a/testsuite/commands01/test_main.c +++ b/testsuite/commands01/test_main.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 embedded brains GmbH. All rights reserved. + * Copyright (c) 2013-2014 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Dornierstr. 4 @@ -43,7 +43,7 @@ #define TEST_NAME "LIBBSD COMMANDS 1" -#define ARGC(x) (nitems(x) - 1) +#define ARGC(x) RTEMS_BSD_ARGC(x) static void test_route_without_if(void) |