diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-19 20:31:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-19 20:31:16 +0200 |
commit | fd853e34e2dbfe51b00c9f69335b103f1c1fdab2 (patch) | |
tree | e92f4d358dacf994dd52b100676b5b47791ddbc2 /common.h | |
parent | misc (diff) | |
download | deadshred-fd853e34e2dbfe51b00c9f69335b103f1c1fdab2.tar.gz deadshred-fd853e34e2dbfe51b00c9f69335b103f1c1fdab2.tar.bz2 deadshred-fd853e34e2dbfe51b00c9f69335b103f1c1fdab2.tar.xz |
misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | common.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |