diff options
| author | Richard Nyberg <rnyberg@murmeldjur.se> | 2005-12-14 17:31:16 +0000 |
|---|---|---|
| committer | Richard Nyberg <rnyberg@murmeldjur.se> | 2005-12-14 17:31:16 +0000 |
| commit | b2bf61dbf7b1c83d867f672cd5dad503e92c6362 (patch) | |
| tree | bbdc58438a41144817b8274d16cb25416927bce3 /misc/subr.h | |
| parent | c347106fc1aadcee0a13d54a413e65880ac9df2f (diff) | |
| download | btpd-b2bf61dbf7b1c83d867f672cd5dad503e92c6362.tar.gz btpd-b2bf61dbf7b1c83d867f672cd5dad503e92c6362.zip | |
Add and use rand_between.
Diffstat (limited to 'misc/subr.h')
| -rw-r--r-- | misc/subr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/subr.h b/misc/subr.h index 9467839..62c92c4 100644 --- a/misc/subr.h +++ b/misc/subr.h @@ -18,4 +18,6 @@ int canon_path(const char *path, char **res); size_t round_to_page(size_t size); +long rand_between(long min, long max); + #endif |