summaryrefslogtreecommitdiff
path: root/libc/stdlib/rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/rand.c')
-rw-r--r--libc/stdlib/rand.c28
1 files changed, 8 insertions, 20 deletions
diff --git a/libc/stdlib/rand.c b/libc/stdlib/rand.c
index cdf58ecc7..03323f501 100644
--- a/libc/stdlib/rand.c
+++ b/libc/stdlib/rand.c
@@ -1,28 +1,16 @@
-/* rand.c
- *
- * Written by Erik Andersen <andersee@debian.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; see the file COPYING.LIB. If not,
- * write to the Free Software Foundation, Inc., 675 Mass Ave,
- * Cambridge, MA 02139, USA. */
+/* vi: set sw=4 ts=4: */
+/*
+ * rand for uClibc
+ * Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
#include <stdlib.h>
libc_hidden_proto(random)
-int rand (void)
+int rand (void)
{
- return((int)random());
+ return((int)random());
}