aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ruby/st.h2
-rw-r--r--include/ruby/util.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/st.h b/include/ruby/st.h
index 0ef499944a..b4fdf7e8ea 100644
--- a/include/ruby/st.h
+++ b/include/ruby/st.h
@@ -78,7 +78,7 @@ struct st_table {
* implementation-defined type. It is implementation-defined whether
* atomic types are permitted.
* In short, long and long long bit-field are implementation-defined
- * feature. Therefore we want to supress a warning explicitly.
+ * feature. Therefore we want to suppress a warning explicitly.
*/
__extension__
#endif
diff --git a/include/ruby/util.h b/include/ruby/util.h
index 74cdd0ffd1..10cccb4876 100644
--- a/include/ruby/util.h
+++ b/include/ruby/util.h
@@ -48,7 +48,7 @@ extern "C" {
RUBY_SYMBOL_EXPORT_BEGIN
#define DECIMAL_SIZE_OF_BITS(n) (((n) * 3010 + 9998) / 9999)
-/* an approximation of ceil(n * log10(2)), upto 65536 at least */
+/* an approximation of ceil(n * log10(2)), up to 65536 at least */
#define scan_oct(s,l,e) ((int)ruby_scan_oct((s),(l),(e)))
unsigned long ruby_scan_oct(const char *, size_t, size_t *);