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 | 45573224e62b376ff8071c2c74af7b4a6232ec17 (patch) | |
| tree | 2d88c3c3f1a17758fd1f36d8ba0e67916afa3d4d /util.h | |
| parent | 44fa0f3fa8008fc82a8758fd8510c0a5af440c3f (diff) | |
| download | ruby-45573224e62b376ff8071c2c74af7b4a6232ec17.tar.gz ruby-45573224e62b376ff8071c2c74af7b4a6232ec17.tar.xz ruby-45573224e62b376ff8071c2c74af7b4a6232ec17.zip | |
* 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: http://svn.ruby-lang.org/repos/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*); |
