From 3054046e18332ca1bf9b901f69b02f21bb91c098 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Fri, 15 Apr 2022 11:53:24 -0400 Subject: multiple spelling and typo fixes This fixes #516. --- src/shared/plugin.h | 2 +- src/shared/queue.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/shared') diff --git a/src/shared/plugin.h b/src/shared/plugin.h index db4b6878..86ec1bfe 100644 --- a/src/shared/plugin.h +++ b/src/shared/plugin.h @@ -18,7 +18,7 @@ #ifndef __LIBRC_PLUGIN_H__ #define __LIBRC_PLUGIN_H__ -/* A simple flag to say if we're in a plugin proccess or not. +/* A simple flag to say if we're in a plugin process or not. * Mainly used in atexit code. */ extern bool rc_in_plugin; diff --git a/src/shared/queue.h b/src/shared/queue.h index 67f801d7..ddb7821d 100644 --- a/src/shared/queue.h +++ b/src/shared/queue.h @@ -664,7 +664,7 @@ struct { \ */ /* - * __launder_type(): We use this ugly hack to work around the the compiler + * __launder_type(): We use this ugly hack to work around the compiler * noticing that two types may not alias each other and elide tests in code. * We hit this in the CIRCLEQ macros when comparing 'struct name *' and * 'struct type *' (see CIRCLEQ_HEAD()). Modern compilers (such as GCC @@ -675,7 +675,7 @@ struct { \ * Do not use for assignment. * * If we ever choose to change the ABI of the CIRCLEQ macros, we could fix - * this by changing the head/tail sentinal values, but see the note above + * this by changing the head/tail sentinel values, but see the note above * this one. */ static __inline const void * __launder_type(const void *); -- cgit v1.2.3