]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - stdlib/rand.c
localedata: add new locales scn_IT
[thirdparty/glibc.git] / stdlib / rand.c
index 92916e833f7fc94ac16a2bd047c33f8a6ef6ec49..30caa49e21cc6644bba68ef63b51b68813a4b1ff 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2024 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <stdlib.h>
 
@@ -22,7 +22,7 @@
 
 /* Return a random integer between 0 and RAND_MAX.  */
 int
-rand ()
+rand (void)
 {
   return (int) __random ();
 }