summaryrefslogtreecommitdiffstats
path: root/mgmtd/mgmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'mgmtd/mgmt.h')
-rw-r--r--mgmtd/mgmt.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/mgmtd/mgmt.h b/mgmtd/mgmt.h
index d89d76f..665e8d8 100644
--- a/mgmtd/mgmt.h
+++ b/mgmtd/mgmt.h
@@ -13,14 +13,13 @@
#include "vrf.h"
#include "defaults.h"
#include "stream.h"
+#include "mgmt_defines.h"
#include "mgmtd/mgmt_memory.h"
-#include "mgmtd/mgmt_defines.h"
#include "mgmtd/mgmt_history.h"
#include "mgmtd/mgmt_txn.h"
#include "mgmtd/mgmt_ds.h"
-#define MGMTD_VTY_PORT 2623
#define MGMTD_SOCKET_BUF_SIZE 65535
#define MGMTD_MAX_COMMIT_LIST 10
@@ -70,11 +69,6 @@ struct mgmt_master {
extern struct mgmt_master *mm;
/* Inline functions */
-static inline unsigned long timeval_elapsed(struct timeval a, struct timeval b)
-{
- return (((a.tv_sec - b.tv_sec) * TIMER_SECOND_MICRO)
- + (a.tv_usec - b.tv_usec));
-}
/*
* Remove trailing separator from a string.