summaryrefslogtreecommitdiff
path: root/prism/defines.h
diff options
context:
space:
mode:
authorKoichi ITO <[email protected]>2024-03-24 20:06:35 +0900
committergit <[email protected]>2024-03-26 10:51:12 +0000
commit52cf6ec46b744a2ac34d9f6531520bf2aee017f5 (patch)
treed5485317d246400bdf03813fdf83ced93698c1bb /prism/defines.h
parenta850cd1a87bef738c40d9c550fb8823699083f2e (diff)
[ruby/prism] Fix typos
After finding the "if if" typo, some additional typos identified by running `codespell` are also being corrected: https://github.com/codespell-project/codespell https://github.com/ruby/prism/commit/e6a34cfeeb
Diffstat (limited to 'prism/defines.h')
-rw-r--r--prism/defines.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/prism/defines.h b/prism/defines.h
index 2fe73fe3d8..849ca6d051 100644
--- a/prism/defines.h
+++ b/prism/defines.h
@@ -151,7 +151,7 @@
#else
#ifndef xmalloc
/**
- * The malloc function that should be used. This can be overriden with
+ * The malloc function that should be used. This can be overridden with
* the PRISM_XALLOCATOR define.
*/
#define xmalloc malloc
@@ -159,7 +159,7 @@
#ifndef xrealloc
/**
- * The realloc function that should be used. This can be overriden with
+ * The realloc function that should be used. This can be overridden with
* the PRISM_XALLOCATOR define.
*/
#define xrealloc realloc
@@ -167,7 +167,7 @@
#ifndef xcalloc
/**
- * The calloc function that should be used. This can be overriden with
+ * The calloc function that should be used. This can be overridden with
* the PRISM_XALLOCATOR define.
*/
#define xcalloc calloc
@@ -175,7 +175,7 @@
#ifndef xfree
/**
- * The free function that should be used. This can be overriden with the
+ * The free function that should be used. This can be overridden with the
* PRISM_XALLOCATOR define.
*/
#define xfree free