summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-04 02:53:11 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-04 02:53:11 +0000
commit0eb195cee314d100e845efcd86b45dd3282b52aa (patch)
tree571126a81f81dd1ef1f33783c75cf54e0f745f65 /include
parent05f3eaa739dadd51476cdc975bfa0ed535026624 (diff)
* ext/win32ole/win32ole.c: fix a typo. Patch by @davydovanton
[fix GH-923] * include/ruby/st.h: ditto. * include/ruby/util.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 *);