ospfd: remove unused function ins ospfd/ospf_lsa.c

Signed-off-by: Donna Sharp <dksharp5@gmail.com>
This commit is contained in:
Donna Sharp 2024-11-11 18:55:54 -05:00
parent 311bd23ccb
commit e7d61aa797
2 changed files with 0 additions and 11 deletions

View file

@ -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;

View file

@ -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);