From 2a39170c6bd4dddf803a8c4c241e8ab072d78cca Mon Sep 17 00:00:00 2001 From: Olivier Dugeon Date: Fri, 21 Jul 2017 16:34:33 +0200 Subject: Correct indentation and remove _opcode_t typedef * Correct struct tlh_header indentation in opaque.h * Change typedef enum _opcode_t by enum lsa_opcode * Propagate change in ospf_te.[c,h) and ospf_ri.c Signed-off-by: Olivier Dugeon --- ospfd/ospf_te.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ospfd/ospf_te.c') diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c index 66de46c5c..a982350e6 100644 --- a/ospfd/ospf_te.c +++ b/ospfd/ospf_te.c @@ -229,8 +229,8 @@ static struct mpls_te_link *lookup_linkparams_by_instance(struct ospf_lsa *lsa) } static void ospf_mpls_te_foreach_area(void (*func)(struct mpls_te_link *lp, - opcode_t sched_opcode), - opcode_t sched_opcode) + enum lsa_opcode sched_opcode), + enum lsa_opcode sched_opcode) { struct listnode *node, *nnode; struct listnode *node2; @@ -1509,7 +1509,7 @@ static struct ospf_lsa *ospf_mpls_te_lsa_refresh(struct ospf_lsa *lsa) return new; } -void ospf_mpls_te_lsa_schedule(struct mpls_te_link *lp, opcode_t opcode) +void ospf_mpls_te_lsa_schedule(struct mpls_te_link *lp, enum lsa_opcode opcode) { struct ospf_lsa lsa; struct lsa_header lsah; -- cgit v1.2.3