Add and use RTEMS_BSD_ARGC()

This commit is contained in:
Sebastian Huber
2014-01-20 15:27:13 +01:00
parent f8c3d6eacf
commit 7831313a17
4 changed files with 13 additions and 15 deletions

View File

@@ -7,7 +7,7 @@
*/
/*
* Copyright (c) 2013 embedded brains GmbH. All rights reserved.
* Copyright (c) 2013-2014 embedded brains GmbH. All rights reserved.
*
* embedded brains GmbH
* Dornierstr. 4
@@ -42,6 +42,8 @@
#include <sys/cdefs.h>
#define RTEMS_BSD_ARGC(array) (sizeof(array) / sizeof((array)[0]) - 1)
__BEGIN_DECLS
int rtems_bsd_command_ifconfig(int argc, char **argv);