Project

General

Profile

Bug #1382 ยป static.diff

Patch to add "static" to rb_reserved_word - roberto (Ollivier Robert), 04/15/2009 06:12 PM

View differences:

lex.c.blt
#line 1 "keywords"
struct kwtable {const char *name; int id[2]; enum lex_state_e state;};
const struct kwtable *rb_reserved_word(const char *, unsigned int);
static const struct kwtable *rb_reserved_word(const char *, unsigned int);
#ifndef RIPPER
#line 7 "keywords"
struct kwtable;
......
__attribute__ ((__gnu_inline__))
#endif
#endif
const struct kwtable *
static const struct kwtable *
rb_reserved_word (str, len)
register const char *str;
register unsigned int len;
    (1-1/1)