diff options
Diffstat (limited to 'bgpd/bgpd.h')
-rw-r--r-- | bgpd/bgpd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index dad3360e..f20d8315 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -21,7 +21,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #ifndef _QUAGGA_BGPD_H #define _QUAGGA_BGPD_H -#include "stdbool.h" +#include "misc.h" #include "bgpd/bgp_common.h" #include "bgpd/bgp_notification.h" @@ -445,15 +445,15 @@ bgp_clock(void) * Clock time calculated now may differ from any logged Wall Clock times !! */ Inline time_t -bgp_wall_clock(time_t bgp_time) +bgp_wall_clock(time_t mono) { - return time(NULL) + (bgp_time - bgp_clock()) ; + return time(NULL) - (bgp_clock() - mono) ; } ; /*------------------------------------------------------------------------------ * Prototypes. */ -extern void bgp_terminate (int, int); +extern void bgp_terminate (bool, bool); extern void bgp_reset (void); extern void bgp_zclient_reset (void); /* See bgp_zebra ! */ |