Skip to content
Snippets Groups Projects
Commit 92bc8e0d authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
Browse files

Adding void parameter

parent f2a24eb1
No related branches found
No related tags found
2 merge requests!439RCG 5.0 release fro deb 10,!350Merge branch 'branch-4.2' into master-branch-4.2-merge
......@@ -43,7 +43,7 @@ sub printFrontEndVars {
print ::OUT << "END";
static unsigned long noise_seed = 0;
static unsigned long noise_u = 0, noise_v = 0, noise_w = 0;
inline unsigned long noise_int64() {
inline unsigned long noise_int64( void ) {
noise_u = noise_u * 2862933555777941757LL + 7046029254386353087LL;
noise_v ^= noise_v >> 17; noise_v ^= noise_v << 31; noise_v ^= noise_v >> 8;
noise_w = 4294957665U * (noise_w & 0xffffffff) + (noise_w >> 32);
......@@ -51,7 +51,7 @@ inline unsigned long noise_int64() {
noise_x ^= noise_x >> 35; noise_x ^= noise_x <<4;
return (noise_x + noise_v) ^ noise_w;
}
inline double noise_doub() { return 5.42101086242752217E-20 * noise_int64(); }
inline double noise_doub( void ) { return 5.42101086242752217E-20 * noise_int64(); }
inline noise_set_seed(unsigned long seed) {
noise_v = 4101842887655102017LL;
noise_w = 1;
......
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