Commit 94574545 by Greg McGary Committed by Greg McGary

* gjavah.c (cxx_keyword_subst): Use ARRAY_SIZE.

From-SVN: r35988
parent 31448271
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment