From: Jens Axboe Date: Tue, 20 Feb 2007 19:54:45 +0000 (+0100) Subject: More __must_check annotations X-Git-Tag: fio-1.12~47 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=72cb971b019945a0eb7528384338f0410373484f;p=fio.git More __must_check annotations Signed-off-by: Jens Axboe --- diff --git a/fio.h b/fio.h index e6931619..304f658e 100644 --- a/fio.h +++ b/fio.h @@ -515,9 +515,9 @@ typedef int (endio_handler)(struct io_u *); /* * Log exports */ -extern int read_iolog_get(struct thread_data *, struct io_u *); +extern int __must_check read_iolog_get(struct thread_data *, struct io_u *); extern void write_iolog_put(struct thread_data *, struct io_u *); -extern int init_iolog(struct thread_data *td); +extern int __must_check init_iolog(struct thread_data *td); extern void log_io_piece(struct thread_data *, struct io_u *); extern void prune_io_piece_log(struct thread_data *); extern void write_iolog_close(struct thread_data *); @@ -559,8 +559,8 @@ extern void fio_gettime(struct timeval *, void *); /* * Init functions */ -extern int parse_options(int, char **); -extern int init_random_state(struct thread_data *); +extern int __must_check parse_options(int, char **); +extern int __must_check init_random_state(struct thread_data *); /* * File setup/shutdown