aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common.h b/common.h
index c1dbcfc..241f280 100644
--- a/common.h
+++ b/common.h
@@ -76,11 +76,12 @@ const char *wravg_get(struct status *s);
/* rnd.c */
+void init_random(int fd, const char *fname, off_t blksize);
+void destroy_random(void);
#if defined(__GNUC__)
-__attribute__((__const__))
+__attribute__((__pure__))
#endif
size_t max_blksize(void);
-void init_random(int fd, const char *fname);
const char *get_random(size_t needed);
void used_random(ssize_t amount);