From fdb5677bbbc8a19946341043da407a7e3368afc9 Mon Sep 17 00:00:00 2001 From: Corey Kosak Date: Fri, 5 Aug 2016 20:48:27 -0400 Subject: [PATCH] Spelling: it's -> its --- src/daemon/configfile.c | 2 +- src/daemon/utils_avltree.h | 4 ++-- src/daemon/utils_heap.h | 2 +- src/rrdtool.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/daemon/configfile.c b/src/daemon/configfile.c index ff5e034e..a31fb64d 100644 --- a/src/daemon/configfile.c +++ b/src/daemon/configfile.c @@ -792,7 +792,7 @@ static oconfig_item_t *cf_read_dir (const char *dir, * * There are two versions of this function: If `wordexp' exists shell wildcards * will be expanded and the function will include all matches found. If - * `wordexp' (or, more precisely, it's header file) is not available the + * `wordexp' (or, more precisely, its header file) is not available the * simpler function is used which does not do any such expansion. */ #if HAVE_WORDEXP_H diff --git a/src/daemon/utils_avltree.h b/src/daemon/utils_avltree.h index 1e0f271f..43e94cfb 100644 --- a/src/daemon/utils_avltree.h +++ b/src/daemon/utils_avltree.h @@ -42,7 +42,7 @@ typedef struct c_avl_iterator_s c_avl_iterator_t; * * PARAMETERS * `compare' The function-pointer `compare' is used to compare two keys. It - * has to return less than zero if it's first argument is smaller + * has to return less than zero if its first argument is smaller * then the second argument, more than zero if the first argument * is bigger than the second argument and zero if they are equal. * If your keys are char-pointers, you can use the `strcmp' @@ -131,7 +131,7 @@ int c_avl_get (c_avl_tree_t *t, const void *key, void **value); * c_avl_pick * * DESCRIPTION - * Remove a (pseudo-)random element from the tree and return it's `key' and + * Remove a (pseudo-)random element from the tree and return its `key' and * `value'. Entries are not returned in any particular order. This function * is intended for cache-flushes that don't care about the order but simply * want to remove all elements, one at a time. diff --git a/src/daemon/utils_heap.h b/src/daemon/utils_heap.h index 6d71c43a..243554c6 100644 --- a/src/daemon/utils_heap.h +++ b/src/daemon/utils_heap.h @@ -39,7 +39,7 @@ typedef struct c_heap_s c_heap_t; * * PARAMETERS * `compare' The function-pointer `compare' is used to compare two keys. It - * has to return less than zero if it's first argument is smaller + * has to return less than zero if its first argument is smaller * then the second argument, more than zero if the first argument * is bigger than the second argument and zero if they are equal. * If your keys are char-pointers, you can use the `strcmp' diff --git a/src/rrdtool.c b/src/rrdtool.c index c63db52e..094dd42a 100644 --- a/src/rrdtool.c +++ b/src/rrdtool.c @@ -411,7 +411,7 @@ static void *rrd_queue_thread (void __attribute__((unused)) *data) pthread_mutex_unlock (&queue_lock); /* We now need the cache lock so the entry isn't updated while - * we make a copy of it's values */ + * we make a copy of its values */ pthread_mutex_lock (&cache_lock); status = c_avl_get (cache, queue_entry->filename, -- 2.11.0