mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Int vs Long cleanup #3 (ruby-core:352)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3685a85b3d
commit
0d0ae37e50
13 changed files with 95 additions and 97 deletions
12
util.c
12
util.c
|
|
@ -27,9 +27,9 @@ char *strchr _((char*,char));
|
|||
|
||||
unsigned long
|
||||
scan_oct(start, len, retlen)
|
||||
const char *start;
|
||||
int len;
|
||||
int *retlen;
|
||||
const char *start;
|
||||
int len;
|
||||
int *retlen;
|
||||
{
|
||||
register const char *s = start;
|
||||
register unsigned long retval = 0;
|
||||
|
|
@ -44,9 +44,9 @@ int *retlen;
|
|||
|
||||
unsigned long
|
||||
scan_hex(start, len, retlen)
|
||||
const char *start;
|
||||
int len;
|
||||
int *retlen;
|
||||
const char *start;
|
||||
int len;
|
||||
int *retlen;
|
||||
{
|
||||
static char hexdigit[] = "0123456789abcdef0123456789ABCDEF";
|
||||
register const char *s = start;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue