Skip to content
Snippets Groups Projects
Commit 632f25a2 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix missing/conflicting types

parent da5ef109
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ static int makeseed(void) ...@@ -22,7 +22,7 @@ static int makeseed(void)
return (random1_nextseed & 0x7fffffff); return (random1_nextseed & 0x7fffffff);
} }
static int rand_random_fl(seed) { static int rand_random_fl(unsigned int seed) {
int q; int q;
double state; double state;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#endif #endif
static int makeseed(void); static int makeseed(void);
static int rand_random1(int); static int rand_random1(unsigned int);
static int makeseed(void) static int makeseed(void)
{ {
...@@ -27,7 +27,7 @@ static int makeseed(void) ...@@ -27,7 +27,7 @@ static int makeseed(void)
/* -------------------------- random1 ------------------------------ */ /* -------------------------- random1 ------------------------------ */
/* linear congruential generator. Generator x[n+1] = a * x[n] mod m */ /* linear congruential generator. Generator x[n+1] = a * x[n] mod m */
static int rand_random1(seed) static int rand_random1(unsigned int seed)
{ {
int state; int state;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment