Fix pedantic warnings
With the latest build system, somehow -Wpedantic got turned on. This is
reasonable given that we expect this code to compile against a number of
targets. Fix void issues.
void function() changes to void function(void)
Change-Id: I89a2dcbcd88c7d163ffdfb67927f71b39cb7aa6f
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/generator/gen-utils.c b/generator/gen-utils.c
index b299f7b..fa0fa99 100644
--- a/generator/gen-utils.c
+++ b/generator/gen-utils.c
@@ -15,7 +15,7 @@
lfsr = seed;
}
-UINT32 cper_rand()
+UINT32 cper_rand(void)
{
lfsr |= lfsr == 0; // if x == 0, set x = 1 instead
lfsr ^= (lfsr & 0x0007ffff) << 13;