Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
94574545
Commit
94574545
authored
Aug 25, 2000
by
Greg McGary
Committed by
Greg McGary
Aug 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gjavah.c (cxx_keyword_subst): Use ARRAY_SIZE.
From-SVN: r35988
parent
31448271
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/java/ChangeLog
+4
-0
gcc/java/gjavah.c
+1
-1
No files found.
gcc/java/ChangeLog
View file @
94574545
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.
...
...
gcc/java/gjavah.c
View file @
94574545
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment