From: Andre Date: Sun, 28 Jan 2007 21:31:49 +0000 (+0100) Subject: make another function of command.c static X-Git-Tag: v0.2.15~65 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=3a0018aba38f2d3c073a659b9b443245ffe349cb;hp=7f15151a37e57cd13df403dbc7e0699082d60a0b;p=paraslash.git make another function of command.c static --- diff --git a/command.c b/command.c index 38e04bd6..7bde617e 100644 --- a/command.c +++ b/command.c @@ -727,7 +727,7 @@ static struct server_command *parse_cmd(const char *cmdstr) return get_cmd_ptr(buf, NULL); } -long int para_rand(long unsigned max) +static long int para_rand(long unsigned max) { return (long int) ((max + 0.0) * (random() / (RAND_MAX + 1.0))); }