mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 13:33:15 +00:00
lib: northbound style fixes
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
c6a9c60f97
commit
1be4decb04
@ -962,7 +962,6 @@ static int nb_callback_configuration(const enum nb_event event,
|
|||||||
union nb_resource *resource;
|
union nb_resource *resource;
|
||||||
int ret = NB_ERR;
|
int ret = NB_ERR;
|
||||||
|
|
||||||
|
|
||||||
if (event == NB_EV_VALIDATE)
|
if (event == NB_EV_VALIDATE)
|
||||||
resource = NULL;
|
resource = NULL;
|
||||||
else
|
else
|
||||||
@ -1014,8 +1013,8 @@ static int nb_callback_configuration(const enum nb_event event,
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
flog_err(EC_LIB_DEVELOPMENT,
|
flog_err(EC_LIB_DEVELOPMENT,
|
||||||
"%s: unknown event (%u) [xpath %s]",
|
"%s: unknown event (%u) [xpath %s]", __func__,
|
||||||
__func__, event, xpath);
|
event, xpath);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1044,8 +1044,8 @@ extern void *nb_running_unset_entry(const struct lyd_node *dnode);
|
|||||||
* Returns:
|
* Returns:
|
||||||
* User pointer if found, NULL otherwise.
|
* User pointer if found, NULL otherwise.
|
||||||
*/
|
*/
|
||||||
extern void *nb_running_get_entry(const struct lyd_node *dnode, const char *xpath,
|
extern void *nb_running_get_entry(const struct lyd_node *dnode,
|
||||||
bool abort_if_not_found);
|
const char *xpath, bool abort_if_not_found);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Return a human-readable string representing a northbound event.
|
* Return a human-readable string representing a northbound event.
|
||||||
|
Loading…
Reference in New Issue
Block a user