From 94ecebc42368bd20dc671baaf397c136c530d09d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 1 Dec 2008 09:43:37 +0000 Subject: random: use smaller data fields where appropriate text data bss dec hex filename - 130 156 0 286 11e libc/stdlib/random.o + 130 148 0 278 116 libc/stdlib/random.o - 586 0 0 586 24a libc/stdlib/random_r.o + 570 0 0 570 23a libc/stdlib/random_r.o --- libc/stdlib/rand.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libc/stdlib/rand.c') diff --git a/libc/stdlib/rand.c b/libc/stdlib/rand.c index 61aaa9105..93fc01483 100644 --- a/libc/stdlib/rand.c +++ b/libc/stdlib/rand.c @@ -9,8 +9,7 @@ /* libc_hidden_proto(random) */ -int rand (void) +int rand(void) { - return((int)random()); + return (int)random(); } - -- cgit v1.2.3