diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-06-08 00:22:23 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-06-08 00:22:23 +0000 |
commit | 60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca (patch) | |
tree | 29d9258b64874c6c9838757a9c67ef62a6a0868c /stdlib/rand.c | |
parent | 2e09a79ada1f6d92809a037d41895e3d9302ad59 (diff) | |
download | glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.gz glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.tar.bz2 glibc-60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca.zip |
Use (void) in no-arguments function definitions.
Diffstat (limited to 'stdlib/rand.c')
-rw-r--r-- | stdlib/rand.c | 2 |
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 (); } |