* gjavah.c (cxx_keyword_subst): Use ARRAY_SIZE.
From-SVN: r35988
This commit is contained in:
parent
3144827180
commit
945745458e
@ -1,3 +1,7 @@
|
||||
2000-08-25 Greg McGary <greg@mcgary.org>
|
||||
|
||||
* gjavah.c (cxx_keyword_subst): Use ARRAY_SIZE.
|
||||
|
||||
2000-08-24 Greg McGary <greg@mcgary.org>
|
||||
|
||||
* lang.c (lang_decode_option): Use ARRAY_SIZE.
|
||||
|
@ -427,7 +427,7 @@ cxx_keyword_subst (str, length)
|
||||
const unsigned char *str;
|
||||
int length;
|
||||
{
|
||||
int last = sizeof (cxx_keywords) / sizeof (const char *);
|
||||
int last = ARRAY_SIZE (cxx_keywords);
|
||||
int first = 0;
|
||||
int mid = (last + first) / 2;
|
||||
int old = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user