mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 05:27:16 +02:00
ospfd: remove unused function ins ospfd/ospf_lsa.c
Signed-off-by: Donna Sharp <dksharp5@gmail.com>
This commit is contained in:
parent
311bd23ccb
commit
e7d61aa797
|
@ -87,16 +87,6 @@ bool ospf_check_dna_lsa(const struct ospf_lsa *lsa)
|
|||
: false);
|
||||
}
|
||||
|
||||
struct timeval int2tv(int a)
|
||||
{
|
||||
struct timeval ret;
|
||||
|
||||
ret.tv_sec = a;
|
||||
ret.tv_usec = 0;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
struct timeval msec2tv(int a)
|
||||
{
|
||||
struct timeval ret;
|
||||
|
|
|
@ -224,7 +224,6 @@ enum lsid_status { LSID_AVAILABLE = 0, LSID_CHANGE, LSID_NOT_AVAILABLE };
|
|||
|
||||
/* Prototypes. */
|
||||
/* XXX: Eek, time functions, similar are in lib/thread.c */
|
||||
extern struct timeval int2tv(int);
|
||||
|
||||
extern struct timeval msec2tv(int a);
|
||||
extern int tv2msec(struct timeval tv);
|
||||
|
|
Loading…
Reference in a new issue