summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-08-15 15:53:03 +1000
committerAmitay Isaacs <amitay@samba.org>2014-09-10 01:36:15 +0200
commit6e1568149ede06d48b91bbc7ecd8c55da3b41a41 (patch)
tree8e26fbaf0821e5dc641c58385a3ff71d69861fe4 /ctdb/include
parentc5c74e47ee672e9e9605c5c4b96733d899b6f9b6 (diff)
downloadsamba-6e1568149ede06d48b91bbc7ecd8c55da3b41a41.tar.gz
ctdb-tools: Move definition of timeval_delta() to tools/ctdb.c
This function is only used in this file. Samba's lib/util doesn't have timeval_delta(), so staging a clean transition. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/internal/includes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ctdb/include/internal/includes.h b/ctdb/include/internal/includes.h
index 951726a3961..9217dbd906c 100644
--- a/ctdb/include/internal/includes.h
+++ b/ctdb/include/internal/includes.h
@@ -63,7 +63,6 @@ struct timeval timeval_until(const struct timeval *tv1,
const struct timeval *tv2);
_PUBLIC_ struct timeval timeval_current_ofs(uint32_t secs, uint32_t usecs);
double timeval_elapsed(struct timeval *tv);
-double timeval_delta(struct timeval *tv2, struct timeval *tv);
char **file_lines_load(const char *fname, int *numlines, size_t maxsize, TALLOC_CTX *mem_ctx);
char *hex_encode_talloc(TALLOC_CTX *mem_ctx, const unsigned char *buff_in, size_t len);
_PUBLIC_ int set_blocking(int fd, bool set);