]> git.proxmox.com Git - mirror_frr.git/commit
lib: remove a whole bunch of unused time stuff
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 28 Jul 2016 15:23:40 +0000 (17:23 +0200)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Thu, 28 Jul 2016 11:27:47 +0000 (07:27 -0400)
commit16f5949d44f7d9bec5b0402845754e9aca9b6f32
treed5d2ee2ed7fa65c4842d6f54a380dbce40d8f09e
parent2176b7c3d248b16b63857582967eecfa4765dcc8
lib: remove a whole bunch of unused time stuff

QUAGGA_CLK_REALTIME and QUAGGA_CLK_REALTIME_STABILISED aren't used
anywhere in the code.  Remove.  The enum is kept to avoid having to
change the calls everywhere.

Same applies to the workaround code for systems that don't have a
monotonic clock.  None of the systems Quagga works on fall into that
category;  Linux, BSD and Solaris all do clock_gettime, for OSX we have
mach_absolute_time() - that covers everything.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/thread.c
lib/thread.h