From fd853e34e2dbfe51b00c9f69335b103f1c1fdab2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Sep 2024 20:31:16 +0200 Subject: misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- common.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common.h') 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); -- cgit v1.2.3-70-g09d2