diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-22 05:26:44 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-22 05:26:44 +0000 |
commit | eb82473a39e9d5b432f4fa4f36793a33a2fdfd05 (patch) | |
tree | 2d88c3c3f1a17758fd1f36d8ba0e67916afa3d4d /util.h | |
parent | 0cfe16bc21697d135c35fcb329c49cdd728da7bb (diff) |
* util.[hc] (ruby_add_suffix): constified.
* util.[hc] (ruby_scan_{oct,hex}): fixed typo. (renamed from
scan_{oct,hex})
* util.c: almostly ANSI styled. (except for functions depending on
macro and K&R tecknique)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,12 +35,12 @@ #endif #define scan_oct ruby_scan_oct -unsigned long scan_oct(const char*, int, int*); +unsigned long ruby_scan_oct(const char*, int, int*); #define scan_hex ruby_scan_hex -unsigned long scan_hex(const char*, int, int*); +unsigned long ruby_scan_hex(const char*, int, int*); #if defined(MSDOS) || defined(__CYGWIN32__) || defined(_WIN32) -void ruby_add_suffix(VALUE str, char *suffix); +void ruby_add_suffix(VALUE str, const char *suffix); #endif void ruby_qsort(void*, const int, const int, int (*)(const void*,const void*,void*), void*); |