]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixup comments for doxygen 1.5
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 12 Jun 2007 14:51:49 +0000 (14:51 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 12 Jun 2007 14:51:49 +0000 (14:51 +0000)
git-svn-id: file:///svn/unbound/trunk@383 be551aaa-1e26-0410-a405-d3ace91eadb9

28 files changed:
daemon/daemon.c
daemon/unbound.c
daemon/worker.c
doc/Changelog
services/cache/dns.c
services/outside_network.c
testcode/checklocks.c
testcode/fake_event.c
testcode/ldns-testpkts.c
testcode/lock_verify.c
testcode/pktview.c
testcode/replay.c
testcode/testbound.c
testcode/unitlruhash.c
testcode/unitmsgparse.c
testcode/unitslabhash.c
util/config_file.c
util/config_file.h
util/data/dname.c
util/data/msgparse.c
util/data/msgreply.c
util/data/msgreply.h
util/locks.c
util/net_help.c
util/netevent.c
util/rbtree.c
util/region-allocator.h
util/storage/lruhash.h

index 26b42a53fe415aa869551ea55cd45eb004e346ba..66ebb7181c78f836a28d70e1ef047d57098eb4ac 100644 (file)
@@ -62,7 +62,10 @@ static int sig_record_quit = 0;
 static int sig_record_reload = 0;
 
 /** used when no other sighandling happens, so we don't die
-  * when multiple signals in quick succession are sent to us. */
+  * when multiple signals in quick succession are sent to us. 
+  * @param sig: signal number.
+  * @return signal handler return type (void or int).
+  */
 static RETSIGTYPE record_sigh(int sig)
 {
 #ifdef LIBEVENT_SIGNAL_PROBLEM
index 48780640efb989b090dd6bd22ec55911a75dee40..8f94acf197bc772c8a511647dde52c562336fd5b 100644 (file)
@@ -142,7 +142,10 @@ apply_dir(struct daemon* daemon, struct config_file* cfg, int cmdline_verbose)
        checkrlimits(cfg);
 }
 
-/** Read existing pid from pidfile. */
+/** Read existing pid from pidfile. 
+ * @param file: file name of pid file.
+ * @return: the pid from the file or -1 if none.
+ */
 static pid_t
 readpid (const char* file)
 {
@@ -182,7 +185,10 @@ readpid (const char* file)
        return pid;
 }
 
-/** write pid to file. */
+/** write pid to file. 
+ * @param pidfile: file name of pid file.
+ * @param pid: pid to write to file.
+ */
 static void
 writepid (const char* pidfile, pid_t pid)
 {
index b414db09cc350083f7e986ae96d98691e4432759..b039888d2ac6e27f1ba9f7f2354d7103baba5e9d 100644 (file)
@@ -447,7 +447,12 @@ worker_check_request(ldns_buffer* pkt)
        return 0;
 }
 
-/** process control messages from the main thread. */
+/** process control messages from the main thread. 
+ * @param c: comm point to read from.
+ * @param arg: worker.
+ * @param error: error status of comm point.
+ * @param reply_info: not used.
+ */
 static int 
 worker_handle_control_cmd(struct comm_point* c, void* arg, int error, 
        struct comm_reply* ATTR_UNUSED(reply_info))
index ae4d1e665e72d6432d3abd54a30ed70e8a4284d8..c0523a64979c5f393088b746dd084df33b2f3c2a 100644 (file)
@@ -4,6 +4,7 @@
        - synthesize CNAME and DNAME responses from the cache.
        - Updated doxygen config for doxygen 1.5.
        - aclocal newer version.
+       - doxygen 1.5 fixes for comments (for the strict check on docs).
 
 11 June 2007: Wouter
        - replies on TCP queries have the address field set in replyinfo,
index 7dc9b08d6c0594b6a24da67989b645d6af4ee0b7..14cd72263e8d3e0b1a1143f63928deaca7328300 100644 (file)
 #include "util/net_help.h"
 #include "util/region-allocator.h"
 
-/** store rrsets in the rrset cache. */
+/** store rrsets in the rrset cache. 
+ * @param env: module environment with caches.
+ * @param rep: contains list of rrsets to store.
+ * @param now: current time(NULL).
+ */
 static void
 store_rrsets(struct module_env* env, struct reply_info* rep, uint32_t now)
 {
index b1a2c5a88d8ad78a7f9cdf840f503eeb8018529e..c0f2c1e74169eb6bb28df2583fb18d3b21af3791 100644 (file)
@@ -62,7 +62,7 @@
 /** number of retries on outgoing UDP queries */
 #define OUTBOUND_UDP_RETRY 4
 
-/** callback for serviced query UDP answers. */
+/** callback for serviced query UDP answers */
 static int serviced_udp_callback(struct comm_point* c, void* arg, int error,
         struct comm_reply* rep);
 /** initiate TCP transaction for serviced query */
@@ -205,7 +205,7 @@ outnet_tcp_take_into_use(struct waiting_tcp* w, uint8_t* pkt)
        return 1;
 }
 
-/** see if buffers can be used to service TCP queries. */
+/** see if buffers can be used to service TCP queries */
 static void
 use_free_buffer(struct outside_network* outnet)
 {
@@ -260,7 +260,7 @@ outnet_tcp_cb(struct comm_point* c, void* arg, int error,
        return 0;
 }
 
-/** callback for incoming udp answers from the network. */
+/** callback for incoming udp answers from the network */
 static int 
 outnet_udp_cb(struct comm_point* c, void* arg, int error,
        struct comm_reply *reply_info)
@@ -387,7 +387,7 @@ make_udp_range(struct comm_point** coms, const char* ifname,
        return done;
 }
 
-/** calculate number of ip4 and ip6 interfaces, times multiplier. */
+/** calculate number of ip4 and ip6 interfaces, times multiplier */
 static void 
 calc_num46(char** ifs, int num_ifs, int do_ip4, int do_ip6, 
        size_t multiplier, size_t* num_ip4, size_t* num_ip6)
@@ -822,7 +822,7 @@ pending_tcp_query(struct outside_network* outnet, ldns_buffer* packet,
        return w;
 }
 
-/** create query for serviced queries. */
+/** create query for serviced queries */
 static void
 serviced_gen_query(ldns_buffer* buff, uint8_t* qname, size_t qnamelen, 
        uint16_t qtype, uint16_t qclass, uint16_t flags)
index b85cda0886db4cabe85b4ffb598fe2018356564a..6d1ac9c83be64a398df5e2182abb5b95f8972384 100644 (file)
@@ -194,7 +194,7 @@ prot_check(struct checked_lock* lock,
        }
 }
 
-/** Copy protected memory region. */
+/** Copy protected memory region */
 static void 
 prot_store(struct checked_lock* lock)
 {
@@ -205,7 +205,7 @@ prot_store(struct checked_lock* lock)
        }
 }
 
-/** write lock trace info to file, while you hold those locks. */
+/** write lock trace info to file, while you hold those locks */
 static void
 ordercheck_locklock(struct thr_check* thr, struct checked_lock* lock)
 {
@@ -225,7 +225,7 @@ ordercheck_locklock(struct thr_check* thr, struct checked_lock* lock)
                log_err("fwrite: %s", strerror(errno));
 }
 
-/** write ordercheck lock creation details to file. */
+/** write ordercheck lock creation details to file */
 static void 
 ordercheck_lockcreate(struct thr_check* thr, struct checked_lock* lock)
 {
@@ -365,7 +365,7 @@ checklock_destroy(enum check_lock_type type, struct checked_lock** lock,
        free(e);
 }
 
-/** finish acquiring lock, shared between _(rd|wr||)lock() routines. */
+/** finish acquiring lock, shared between _(rd|wr||)lock() routines */
 static void 
 finish_acquire_lock(struct thr_check* thr, struct checked_lock* lock,
         const char* func, const char* file, int line)
@@ -611,7 +611,7 @@ checklock_unlock(enum check_lock_type type, struct checked_lock* lock,
        }
 }
 
-/** open order info debug file, thr->num must be valid. */
+/** open order info debug file, thr->num must be valid */
 static void 
 open_lockorder(struct thr_check* thr)
 {
@@ -631,7 +631,7 @@ open_lockorder(struct thr_check* thr)
                log_err("fwrite: %s", strerror(errno));
 }
 
-/** checklock thread main, Inits thread structure. */
+/** checklock thread main, Inits thread structure */
 static void* checklock_main(void* arg)
 {
        struct thr_check* thr = (struct thr_check*)arg; 
@@ -791,7 +791,7 @@ total_debug_info()
        }
 }
 
-/** signal handler for join timeout, Exits. */
+/** signal handler for join timeout, Exits */
 static RETSIGTYPE joinalarm(int ATTR_UNUSED(sig))
 {
        log_err("join thread timeout. hangup or deadlock. Info follows.");
@@ -799,7 +799,7 @@ static RETSIGTYPE joinalarm(int ATTR_UNUSED(sig))
        fatal_exit("join thread timeout. hangup or deadlock.");
 }
 
-/** wait for thread with a timeout. */
+/** wait for thread with a timeout */
 void 
 checklock_thrjoin(pthread_t thread)
 {
index a30640c47e9de4582f56659aef019996fc9872c3..b336deaba1c4b443609864c661e3777fe32a584e 100644 (file)
@@ -73,7 +73,7 @@ fake_event_cleanup()
        saved_scenario = NULL;
 }
 
-/** helper function that logs a ldns_pkt packet to logfile. */
+/** helper function that logs a ldns_pkt packet to logfile */
 static void
 log_pkt(const char* desc, ldns_pkt* pkt)
 {
index d090a722240f92e1dd383d5133ef3d806f309af6..39a18376957019299bb2978e4993930de7e82e4f 100644 (file)
@@ -31,7 +31,7 @@ struct sockaddr_storage;
 /** string to show in warnings and errors */
 static const char* prog_name = "ldns-testpkts";
 
-/** logging routine, provided by caller. */
+/** logging routine, provided by caller */
 void verbose(int lvl, const char* msg, ...);
 
 /** print error and exit */
index 18e5a667b1ea641e287f01040bd1ca19ba1ecdc3..b1801aaff18ecf1bf3b302fb200a83c3cbf0e188 100644 (file)
@@ -309,7 +309,7 @@ static void found_cycle(struct lock_ref* visit, int level)
        }
 }
 
-/** Detect cycle by comparing visited now with all (unvisited) bigger nodes. */
+/** Detect cycle by comparing visited now with all (unvisited) bigger nodes */
 static int detect_cycle(struct lock_ref* visit, struct lock_ref* from)
 {
        struct lock_ref* p = from;
index 4c66ff2e36904cb31a767884f71569dc46370044..b059f5266bf550ead6f7dd3cdd10940059d060bc 100644 (file)
@@ -67,7 +67,7 @@ void read_input(ldns_buffer* pkt, FILE* in)
        hex_to_buf(pkt, buf);
 }
 
-/** analyze domain name in packet, possibly compressed. */
+/** analyze domain name in packet, possibly compressed */
 void analyze_dname(ldns_buffer* pkt)
 {
        size_t oldpos = ldns_buffer_position(pkt);
@@ -117,7 +117,7 @@ void analyze_rdata(ldns_buffer*pkt, const ldns_rr_descriptor* desc,
        ldns_buffer_skip(pkt, (ssize_t)rdlen);
 }
 
-/** analyze rr in packet. */
+/** analyze rr in packet */
 void analyze_rr(ldns_buffer* pkt, int q)
 {
        uint16_t type, dclass, len;
index 13be63d032d85c92d2b192d6f63c1b62a38f57e0..4ba20dd39100fb0babcb65da6e89313c1b696e87 100644 (file)
@@ -210,7 +210,7 @@ replay_moment_read(char* remain, FILE* in, const char* name, int* lineno,
        return mom;
 }
 
-/** makes scenario with title on rest of line. */
+/** makes scenario with title on rest of line */
 static struct replay_scenario*
 make_scenario(char* line)
 {
index 64cad16198260bfe0f8419ce6a3ecec4721ef4f0..b1f8dafefdfcb6a07c70407aa8d6eebec20716ce 100644 (file)
@@ -105,7 +105,7 @@ add_opts(char* optarg, int* pass_argc, char* pass_argv[])
        }
 }
 
-/** pretty print commandline for unbound in this test. */
+/** pretty print commandline for unbound in this test */
 static void
 echo_cmdline(int argc, char* argv[])
 {
index 489df94248f285e384fb60aa75ebb317b160e332..0b56339b95a2a5eb73ef0c0d1357a882331dfc1d 100644 (file)
@@ -67,9 +67,9 @@ static void test_delkey(void*, void*, int);
 static void test_deldata(void*, void*);
 /* --- end test representation --- */
 
-/** hash func, very bad to improve collisions. */
+/** hash func, very bad to improve collisions */
 static hashvalue_t myhash(int id) {return (hashvalue_t)id & 0x0f;}
-/** allocate new key, fill in hash. */
+/** allocate new key, fill in hash */
 static struct testkey* newkey(int id) {
        struct testkey* k = (struct testkey*)calloc(1, sizeof(struct testkey));
        if(!k) fatal_exit("out of memory");
@@ -469,7 +469,7 @@ test_thr_main(void* arg)
        return NULL;
 }
 
-/** test hash table access by multiple threads. */
+/** test hash table access by multiple threads */
 static void
 test_threaded_table(struct lruhash* table)
 {
index c26391cdec0da8ae1b50089dcd1f1c58bcfecabe..8f7aa231864d56b1e8c96f962bfc05048f6c584d 100644 (file)
@@ -224,7 +224,7 @@ test_buffers(ldns_buffer* pkt, ldns_buffer* out)
        return 0;
 }
 
-/** check if unbound formerr equals ldns formerr. */
+/** check if unbound formerr equals ldns formerr */
 static void
 checkformerr(ldns_buffer* pkt)
 {
@@ -303,7 +303,7 @@ testpkt(ldns_buffer* pkt, struct alloc_cache* alloc, ldns_buffer* out,
        region_destroy(region);
 }
 
-/** simple test of parsing. */
+/** simple test of parsing */
 static void
 simpletest(ldns_buffer* pkt, struct alloc_cache* alloc, ldns_buffer* out)
 {
@@ -354,7 +354,7 @@ simpletest(ldns_buffer* pkt, struct alloc_cache* alloc, ldns_buffer* out)
        " 64 b9 00 04 c0 3a 80 1e  ");
 }
 
-/** simple test of parsing, pcat file. */
+/** simple test of parsing, pcat file */
 static void
 testfromfile(ldns_buffer* pkt, struct alloc_cache* alloc, ldns_buffer* out,
        const char* fname)
@@ -381,7 +381,7 @@ testfromfile(ldns_buffer* pkt, struct alloc_cache* alloc, ldns_buffer* out,
        fclose(in);
 }
 
-/** simple test of parsing, drill file. */
+/** simple test of parsing, drill file */
 static void
 testfromdrillfile(ldns_buffer* pkt, struct alloc_cache* alloc, 
        ldns_buffer* out, const char* fname)
index 32d17838a0ea64c49abf9f7fd6b3d8cb6ba48c08..933b28bb009226a5a6c711a4f269e9acdfa2f549 100644 (file)
@@ -67,14 +67,14 @@ static void test_delkey(void*, void*, int);
 static void test_deldata(void*, void*);
 /* --- end test representation --- */
 
-/** hash func, very bad to improve collisions, both high and low bits. */
+/** hash func, very bad to improve collisions, both high and low bits */
 static hashvalue_t myhash(int id) {
        hashvalue_t h = (hashvalue_t)id & 0x0f;
        h |= (h << 28);
        return h;
 }
 
-/** allocate new key, fill in hash. */
+/** allocate new key, fill in hash */
 static struct slabtestkey* newkey(int id) {
        struct slabtestkey* k = (struct slabtestkey*)calloc(1, sizeof(struct slabtestkey));
        if(!k) fatal_exit("out of memory");
@@ -351,7 +351,7 @@ test_thr_main(void* arg)
        return NULL;
 }
 
-/** test hash table access by multiple threads. */
+/** test hash table access by multiple threads */
 static void
 test_threaded_table(struct slabhash* table)
 {
index cda0f800415308d49184f205eed0c27e7d4e36b7..7e7aa1c69613327f076a35df20f929db0c4f7d49 100644 (file)
@@ -105,7 +105,7 @@ error_exit:
        return NULL;
 }
 
-/** initialize the global cfg_parser object. */
+/** initialize the global cfg_parser object */
 static void
 create_cfg_parser(struct config_file* cfg, char* filename)
 {
index 4df0c88d4f47321b0df0e89e9d25060d69537e2e..ecb12dc190f679980795cdf88ba5b551334bc0f4 100644 (file)
@@ -184,9 +184,9 @@ struct config_parser_state {
 
 /** global config parser object used during config parsing */
 extern struct config_parser_state* cfg_parser;
-/** parsing helpers: print error with file and line numbers. */
+/** parsing helpers: print error with file and line numbers */
 void ub_c_error(const char* msg);
-/** parsing helpers: print error with file and line numbers. */
+/** parsing helpers: print error with file and line numbers */
 void ub_c_error_msg(const char* fmt, ...) ATTR_FORMAT(printf, 1, 2);
 
 #endif /* UTIL_CONFIG_FILE_H */
index c3542cbbcc4066564900656d669dbde37ec3028d..5709b475f7ae09b4f1c9ef5d2094de3540009bd0 100644 (file)
@@ -45,7 +45,7 @@
 #include "util/log.h"
 #include "util/storage/lookup3.h"
 
-/** determine length of a dname in buffer, no compression pointers allowed. */
+/** determine length of a dname in buffer, no compression pointers allowed */
 size_t
 query_dname_len(ldns_buffer* query)
 {
index 61c320740f7a7a987e0c308fa1767189e1ed42e1..f390a7cf75d6f8d233253c47e509a48d13ffbe6b 100644 (file)
@@ -44,7 +44,7 @@
 #include "util/storage/lookup3.h"
 #include "util/region-allocator.h"
 
-/** smart comparison of (compressed, valid) dnames from packet. */
+/** smart comparison of (compressed, valid) dnames from packet */
 static int
 smart_compare(ldns_buffer* pkt, uint8_t* dnow, 
        uint8_t* dprfirst, uint8_t* dprlast)
@@ -96,7 +96,7 @@ new_rrset(struct msg_parse* msg, uint8_t* dname, size_t dnamelen,
        return p;
 }
 
-/** See if next rrset is nsec at zone apex. */
+/** See if next rrset is nsec at zone apex */
 static int
 nsec_at_apex(ldns_buffer* pkt)
 {
@@ -166,7 +166,7 @@ pkt_hash_rrset(ldns_buffer* pkt, uint8_t* dname, uint16_t type,
        return h;
 }
 
-/** compare rrset_parse with data. */
+/** compare rrset_parse with data */
 static int
 rrset_parse_equals(struct rrset_parse* p, ldns_buffer* pkt, hashvalue_t h, 
        uint32_t rrset_flags, uint8_t* dname, size_t dnamelen, 
index 859788363fe404681b83aaa8be322b835bb45991..4b2c6e783a04b358f99cab12486a6416a1621268 100644 (file)
@@ -51,7 +51,7 @@
 #include "util/data/msgparse.h"
 #include "util/data/msgencode.h"
 
-/** allocate qinfo, return 0 on error. */
+/** allocate qinfo, return 0 on error */
 static int
 parse_create_qinfo(ldns_buffer* pkt, struct msg_parse* msg, 
        struct query_info* qinf, struct region* region)
@@ -103,7 +103,7 @@ construct_reply_info_base(struct region* region, uint16_t flags, size_t qd,
        return rep;
 }
 
-/** allocate replyinfo, return 0 on error. */
+/** allocate replyinfo, return 0 on error */
 static int
 parse_create_repinfo(struct msg_parse* msg, struct reply_info** rep,
        struct region* region)
@@ -116,7 +116,7 @@ parse_create_repinfo(struct msg_parse* msg, struct reply_info** rep,
        return 1;
 }
 
-/** allocate (special) rrset keys, return 0 on error. */
+/** allocate (special) rrset keys, return 0 on error */
 static int
 repinfo_alloc_rrset_keys(struct reply_info* rep, struct alloc_cache* alloc, 
        struct region* region)
index 4af25c2d3347b8572facb1d13d565f6a0fb4e746..d301fb27d4d4637b58b35defe8ccad5b23a50f0d 100644 (file)
@@ -251,7 +251,7 @@ int query_info_allocqname(struct query_info* m);
  */
 int query_info_compare(void* m1, void* m2);
 
-/** clear out query info structure. */
+/** clear out query info structure */
 void query_info_clear(struct query_info* m);
 
 /** calculate size of struct query_info + reply_info */
@@ -263,7 +263,7 @@ void query_entry_delete(void *q, void* arg, int is_locked);
 /** delete reply_info data structure */
 void reply_info_delete(void* d, void* arg);
 
-/** calculate hash value of query_info, lowercases the qname. */
+/** calculate hash value of query_info, lowercases the qname */
 hashvalue_t query_info_hash(struct query_info *q);
 
 /**
index 2ceae05d76ccd27a649f92ef3f8d1e9bb05d5726..e78b22de6b540999f4cec0137eb4e9b80d2acd57 100644 (file)
@@ -66,7 +66,7 @@ ub_thread_blocksigs()
 #endif /* HAVE_PTHREAD */
 }
 
-/** unblock one signal, so we can catch it. */
+/** unblock one signal, so we can catch it */
 void ub_thread_sig_unblock(int sig)
 {
        int err;
index 3ef69ecbbd89d6ee6c4bb72e3fd84afb6a605f9b..7ba79e00a8f7ad487f972b885bfa45a2edf79684 100644 (file)
@@ -43,7 +43,7 @@
 #include "util/data/dname.h"
 #include <fcntl.h>
 
-/** returns true is string addr is an ip6 specced address. */
+/** returns true is string addr is an ip6 specced address */
 int
 str_is_ip6(const char* str)
 {
index b07913056bbc0a541e9655cb7f6c6cbbb8b88ce3..41adeaadd43f1969c7d34e6ea12f1d09159279fd 100644 (file)
@@ -137,7 +137,7 @@ static void comm_timer_callback(int fd, short event, void* arg);
  */
 static void comm_signal_callback(int fd, short event, void* arg);
 
-/** libevent callback for AF_UNIX fds. */
+/** libevent callback for AF_UNIX fds */
 static void comm_point_local_handle_callback(int fd, short event, void* arg);
 
 /** create a tcp handler with a parent */
@@ -254,7 +254,7 @@ comm_point_udp_callback(int fd, short event, void* arg)
        }
 }
 
-/** Use a new tcp handler for new query fd, set to read query. */
+/** Use a new tcp handler for new query fd, set to read query */
 static void
 setup_tcp_handler(struct comm_point* c, int fd) 
 {
@@ -310,7 +310,7 @@ comm_point_tcp_accept_callback(int fd, short event, void* arg)
        setup_tcp_handler(c_hdl, new_fd);
 }
 
-/** Make tcp handler free for next assignment. */
+/** Make tcp handler free for next assignment */
 static void
 reclaim_tcp_handler(struct comm_point* c)
 {
index 02d978d5e8cfbaa4f168395646832aa46bbf354e..e4f95df749cf61f69a82dfaf0c594e6cbd6b588d 100644 (file)
@@ -57,9 +57,9 @@ rbnode_t      rbtree_null_node = {
        BLACK                   /* Color.  */
 };
 
-/** rotate subtree left (to preserve redblack property). */
+/** rotate subtree left (to preserve redblack property) */
 static void rbtree_rotate_left(rbtree_t *rbtree, rbnode_t *node);
-/** rotate subtree right (to preserve redblack property). */
+/** rotate subtree right (to preserve redblack property) */
 static void rbtree_rotate_right(rbtree_t *rbtree, rbnode_t *node);
 /** Fixup node colours when insert happened */
 static void rbtree_insert_fixup(rbtree_t *rbtree, rbnode_t *node);
@@ -291,7 +291,7 @@ static void swap_np(rbnode_t** x, rbnode_t** y)
        rbnode_t* t = *x; *x = *y; *y = t; 
 }
 
-/** Update parent pointers of child trees of 'parent'. */
+/** Update parent pointers of child trees of 'parent' */
 static void change_parent_ptr(rbtree_t* rbtree, rbnode_t* parent, rbnode_t* old, rbnode_t* new)
 {
        if(parent == RBTREE_NULL)
@@ -305,7 +305,7 @@ static void change_parent_ptr(rbtree_t* rbtree, rbnode_t* parent, rbnode_t* old,
        if(parent->left == old) parent->left = new;
        if(parent->right == old) parent->right = new;
 }
-/** Update parent pointer of a node 'child'. */
+/** Update parent pointer of a node 'child' */
 static void change_child_ptr(rbnode_t* child, rbnode_t* old, rbnode_t* new)
 {
        if(child == RBTREE_NULL) return;
@@ -590,7 +590,7 @@ rbtree_previous(rbnode_t *node)
        return node;
 }
 
-/** recursive descent traverse. */
+/** recursive descent traverse */
 static void 
 traverse_post(void (*func)(rbnode_t*, void*), void* arg, rbnode_t* node)
 {
index 8c83658b3c3e9c19cdaacc555a459c9771fd6ec3..3c857cb0cfb2c3c833cd1b860b539dcf08fb1006 100644 (file)
@@ -163,14 +163,14 @@ char *region_strdup(region_type *region, const char *string);
 void region_recycle(region_type *region, void *block, size_t size);
 
 /**
- * Print some REGION statistics to OUT.
+ * Print some REGION statistics to OUT
  */
 void region_dump_stats(region_type *region, FILE *out);
 
 /** get size of recyclebin */
 size_t region_get_recycle_size(region_type* region);
 
-/** Debug print REGION statistics to LOG. */
+/** Debug print REGION statistics to LOG */
 void region_log_stats(region_type *region);
 
 #endif /* _REGION_ALLOCATOR_H_ */
index 61da21262c007ccfc257dd98e347f86f613b584c..81c45de01a040905f1d026d938d74cf74b959847 100644 (file)
@@ -298,7 +298,7 @@ void lru_touch(struct lruhash* table, struct lruhash_entry* entry);
  */
 void lruhash_remove(struct lruhash* table, hashvalue_t hash, void* key);
 
-/** init the hash bins for the table. */
+/** init the hash bins for the table */
 void bin_init(struct lruhash_bin* array, size_t size);
 
 /** delete the hash bin and entries inside it */