projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make another function of command.c static
[paraslash.git]
/
command.c
diff --git
a/command.c
b/command.c
index 38e04bd6abb225b6f44cdec64f30239a0de24976..7bde617e1a5406108c17a5f6e821dff5dbfb1c24 100644
(file)
--- 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)));
}