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
2f59c8eb
Commit
2f59c8eb
authored
Aug 24, 2000
by
Greg McGary
Committed by
Greg McGary
Aug 24, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* libiberty/random.c (end_ptr): Revert previous change.
From-SVN: r35962
parent
054f5e69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
libiberty/ChangeLog
+4
-0
libiberty/random.c
+1
-1
No files found.
libiberty/ChangeLog
View file @
2f59c8eb
2000-08-24 Greg McGary <greg@mcgary.org>
* libiberty/random.c (end_ptr): Revert previous change.
2000-08-24 Greg McGary <greg@mcgary.org>
* libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
demangle_expression, demangle_function_name): Use ARRAY_SIZE.
* libiberty/random.c (end_ptr): Likewise.
...
...
libiberty/random.c
View file @
2f59c8eb
...
...
@@ -198,7 +198,7 @@ static int rand_type = TYPE_3;
static
int
rand_deg
=
DEG_3
;
static
int
rand_sep
=
SEP_3
;
static
long
int
*
end_ptr
=
&
randtbl
[
ARRAY_SIZE
(
randtbl
)];
static
long
int
*
end_ptr
=
&
randtbl
[
sizeof
(
randtbl
)
/
sizeof
(
randtbl
[
0
]
)];
/* Initialize the random number generator based on the given seed. If the
type is the trivial no-state-information type, just remember the seed.
...
...
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