aboutsummaryrefslogtreecommitdiff
path: root/src/pcm_prng.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_prng.h')
-rw-r--r--src/pcm_prng.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pcm_prng.h b/src/pcm_prng.h
index e961baac..f39d4c09 100644
--- a/src/pcm_prng.h
+++ b/src/pcm_prng.h
@@ -23,7 +23,8 @@
* A very simple linear congruential PRNG. It's good enough for PCM
* dithering.
*/
-static unsigned long prng(unsigned long state)
+static unsigned long
+pcm_prng(unsigned long state)
{
return (state * 0x0019660dL + 0x3c6ef35fL) & 0xffffffffL;
}