]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixes for _t changes.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 19 Jan 2017 14:11:59 +0000 (14:11 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 19 Jan 2017 14:11:59 +0000 (14:11 +0000)
git-svn-id: file:///svn/unbound/trunk@3992 be551aaa-1e26-0410-a405-d3ace91eadb9

compat/ctime_r.c
util/rbtree.c
util/winsock_event.c
util/winsock_event.h
winrc/win_svc.c

index 2594dc17e76f429c6c347d0d12dd3693104543f9..87c2609a840876aff0e2cda11205c39fd0b9b7c0 100644 (file)
@@ -6,7 +6,7 @@
 #include "util/locks.h"
 
 /** the lock for ctime buffer */
-static lock_basic_t ctime_lock;
+static lock_basic_type ctime_lock;
 /** has it been inited */
 static int ctime_r_init = 0;
 
index 455c115c568bb7c370fbf667eba852fae135db0d..f031c9a13fafc197f491cf367858360bc6f34bf6 100644 (file)
@@ -619,7 +619,8 @@ traverse_post(void (*func)(rbnode_type*, void*), void* arg, rbnode_type* node)
 }
 
 void 
-traverse_postorder(rbtree_type* tree, void (*func)(rbnode_type*, void*), void* arg)
+traverse_postorder(rbtree_type* tree, void (*func)(rbnode_type*, void*),
+       void* arg)
 {
        traverse_post(func, arg, tree->root);
 }
index 9aad27edc0bc80214cf49d0e1f2017cfd877241d..63d98796d19ff02d794ad0319cb30edf977a777a 100644 (file)
@@ -169,7 +169,7 @@ static void handle_timeouts(struct event_base* base, struct timeval* now,
 #endif
        verbose(VERB_CLIENT, "winsock_event handle_timeouts");
 
-        while((rbnode_t*)(p = (struct event*)rbtree_first(base->times))
+        while((rbnode_type*)(p = (struct event*)rbtree_first(base->times))
                 !=RBTREE_NULL) {
 #ifndef S_SPLINT_S
                 if(p->ev_timeout.tv_sec > now->tv_sec ||
index d386a699fa5221457299922b202bbf48d2a80944..d6dafac8c5c0d1007bd71b8087fabd21fe7a93a6 100644 (file)
 struct event_base
 {
        /** sorted by timeout (absolute), ptr */
-       rbtree_t* times;
+       rbtree_type* times;
        /** array (first part in use) of handles to work on */
        struct event** items;
        /** number of items in use in array */
@@ -169,7 +169,7 @@ struct event_base
  */
 struct event {
         /** node in timeout rbtree */
-        rbnode_t node;
+        rbnode_type node;
         /** is event already added */
         int added;
 
index ac97ef68beae34d70620bc1eacfe23dd051673eb..b755fb543b02108ba309060cdc92aa274ae41582 100644 (file)
@@ -70,7 +70,7 @@ static int service_cmdline_verbose = 0;
 /** the cron callback */
 static struct comm_timer* service_cron = NULL;
 /** the cron thread */
-static ub_thread_t cron_thread = NULL;
+static ub_thread_type cron_thread = NULL;
 /** if cron has already done its quick check */
 static int cron_was_quick = 0;