Function defined and used in only one file.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
void rd_prepare_msg(struct rd *rd, uint32_t cmd, uint32_t *seq, uint16_t flags);
int rd_dev_init_cb(const struct nlmsghdr *nlh, void *data);
int rd_attr_cb(const struct nlattr *attr, void *data);
-int rd_attr_check(const struct nlattr *attr, int *typep);
/*
* Print helpers
[RDMA_NLDEV_ATTR_RES_RAW] = MNL_TYPE_BINARY,
};
-int rd_attr_check(const struct nlattr *attr, int *typep)
+static int rd_attr_check(const struct nlattr *attr, int *typep)
{
int type;