aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2022-04-15 11:53:24 -0400
committerWilliam Hubbs <w.d.hubbs@gmail.com>2022-04-30 21:32:32 -0500
commit3054046e18332ca1bf9b901f69b02f21bb91c098 (patch)
tree149982abcec8e93296c1930f244c44b7b2eb6cfe /src/shared
parentf81bb7e2c4ee8d8c070e2bd212562cc4315edf3a (diff)
multiple spelling and typo fixes
This fixes #516.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/plugin.h2
-rw-r--r--src/shared/queue.h4
2 files changed, 3 insertions, 3 deletions
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 *);