Skip to content

Commit

Permalink
zebra: Make wording for depend functions clearer
Browse files Browse the repository at this point in the history
Fix a couple functions that were using depends (plural)
rather than depend(singular) in their wording.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
  • Loading branch information
sworleys committed Oct 25, 2019
1 parent 565ce0d commit 8f8a806
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zebra/zebra_nhg.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ DEFINE_MTYPE_STATIC(ZEBRA, NHG_DEPENDS, "Nexthop Group Entry Depends");
/**
* nhg_depend_add() - Add a new dependency to the nhg_hash_entry
*
* @nhg_depend: List we are adding the dependency to
* @depends: Dependency we are adding
* @nhg_depends: List we are adding the dependency to
* @depend: Dependency we are adding
*
* Return: Newly created nhg_depend
*/
Expand Down Expand Up @@ -76,9 +76,9 @@ struct nhg_depend *nhg_depend_new(void)
/**
* nhg_depend_free() - Free the nhg_depend struct
*/
void nhg_depend_free(struct nhg_depend *depends)
void nhg_depend_free(struct nhg_depend *depend)
{
XFREE(MTYPE_NHG_DEPENDS, depends);
XFREE(MTYPE_NHG_DEPENDS, depend);
}

/**
Expand Down

0 comments on commit 8f8a806

Please sign in to comment.