about summary refs log tree commit diff
path: root/stdlib/rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/rand.c')
-rw-r--r--stdlib/rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/rand.c b/stdlib/rand.c
index 3e0839fe4c..ba3a9e79bf 100644
--- a/stdlib/rand.c
+++ b/stdlib/rand.c
@@ -22,7 +22,7 @@
 
 /* Return a random integer between 0 and RAND_MAX.  */
 int
-rand ()
+rand (void)
 {
   return (int) __random ();
 }