From eb82473a39e9d5b432f4fa4f36793a33a2fdfd05 Mon Sep 17 00:00:00 2001 From: ocean Date: Sat, 22 Oct 2005 05:26:44 +0000 Subject: * 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 --- util.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util.h') diff --git a/util.h b/util.h index 23316292bf..920549fbde 100644 --- a/util.h +++ b/util.h @@ -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*); -- cgit v1.2.3