зеркало из https://github.com/github/ruby.git
* enumerator.c, eval.c, gc.c, parse.y, regparse.c, sjis.c, time.c:
made internal symbols static. [ruby-dev:27435] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
404faedbaa
Коммит
9c871d5a5a
|
@ -1,3 +1,8 @@
|
|||
Wed Oct 19 02:34:33 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* enumerator.c, eval.c, gc.c, parse.y, regparse.c, sjis.c, time.c:
|
||||
made internal symbols static. [ruby-dev:27435]
|
||||
|
||||
Tue Oct 18 10:58:27 2005 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/dl/depend, ext/dl/extconf.rb, ext/socket/depend,
|
||||
|
|
|
@ -261,7 +261,7 @@ enumerator_allocate(VALUE klass)
|
|||
enumerator_mark, -1, ptr);
|
||||
}
|
||||
|
||||
VALUE
|
||||
static VALUE
|
||||
enumerator_init(VALUE enum_obj, VALUE obj, VALUE meth, int argc, VALUE *argv)
|
||||
{
|
||||
struct enumerator *ptr = enumerator_ptr(enum_obj);
|
||||
|
|
2
eval.c
2
eval.c
|
@ -12586,7 +12586,7 @@ thgroup_list(VALUE group)
|
|||
* ThreadError: can't move from the enclosed thread group
|
||||
*/
|
||||
|
||||
VALUE
|
||||
static VALUE
|
||||
thgroup_enclose(VALUE group)
|
||||
{
|
||||
struct thgroup *data;
|
||||
|
|
4
gc.c
4
gc.c
|
@ -643,7 +643,7 @@ mark_entry(ID key, VALUE value, int lev)
|
|||
return ST_CONTINUE;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
mark_tbl(st_table *tbl, int lev)
|
||||
{
|
||||
if (!tbl) return;
|
||||
|
@ -664,7 +664,7 @@ mark_keyvalue(VALUE key, VALUE value, int lev)
|
|||
return ST_CONTINUE;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
mark_hash(st_table *tbl, int lev)
|
||||
{
|
||||
if (!tbl) return;
|
||||
|
|
2
parse.y
2
parse.y
|
@ -237,7 +237,7 @@ static int parser_yyerror(struct parser_params*, const char*);
|
|||
static int yylex(void*, void*);
|
||||
|
||||
#ifndef RIPPER
|
||||
#define yyparse parser_yyparse
|
||||
#define yyparse ruby_yyparse
|
||||
#define yydebug ruby_yydebug
|
||||
|
||||
static NODE *cond_gen(struct parser_params*,NODE*);
|
||||
|
|
|
@ -1104,7 +1104,7 @@ node_new_cclass(void)
|
|||
return node;
|
||||
}
|
||||
|
||||
extern Node*
|
||||
static Node*
|
||||
node_new_cclass_by_codepoint_range(int not,
|
||||
OnigCodePoint sbr[], OnigCodePoint mbr[])
|
||||
{
|
||||
|
|
2
sjis.c
2
sjis.c
|
@ -76,7 +76,7 @@ sjis_mbc_enc_len(const UChar* p)
|
|||
return EncLen_SJIS[*p];
|
||||
}
|
||||
|
||||
extern int
|
||||
static int
|
||||
sjis_code_to_mbclen(OnigCodePoint code)
|
||||
{
|
||||
if (code < 256) {
|
||||
|
|
2
time.c
2
time.c
|
@ -104,7 +104,7 @@ time_init(VALUE time)
|
|||
#define NDIV(x,y) (-(-((x)+1)/(y))-1)
|
||||
#define NMOD(x,y) ((y)-(-((x)+1)%(y))-1)
|
||||
|
||||
void
|
||||
static void
|
||||
time_overflow_p(time_t *secp, time_t *usecp)
|
||||
{
|
||||
time_t tmp, sec = *secp, usec = *usecp;
|
||||
|
|
Загрузка…
Ссылка в новой задаче