rdma: Make visible the number of arguments
Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
6416d1a01f
commit
5f4892e2c8
|
|
@ -74,6 +74,7 @@ int rd_exec_cmd(struct rd *rd, const struct rd_cmd *c, const char *str);
|
|||
int rd_exec_dev(struct rd *rd, int (*cb)(struct rd *rd));
|
||||
int rd_exec_link(struct rd *rd, int (*cb)(struct rd *rd), bool strict_port);
|
||||
void rd_free(struct rd *rd);
|
||||
int rd_argc(struct rd *rd);
|
||||
|
||||
/*
|
||||
* Device manipulation
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
#include "rdma.h"
|
||||
#include <ctype.h>
|
||||
|
||||
static int rd_argc(struct rd *rd)
|
||||
int rd_argc(struct rd *rd)
|
||||
{
|
||||
return rd->argc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue