X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=verify.c;h=790ab31d3cddd68c0aa4379c9d811d048956efa1;hb=c7334fa3f3be87854354044615b0c0e473c50713;hp=3d9e26879f0adb914298386b02f9e3c4e9ea2416;hpb=9b87f09b1d3cac320c2da5758c1e74d4b4c0fadd;p=fio.git diff --git a/verify.c b/verify.c index 3d9e2687..790ab31d 100644 --- a/verify.c +++ b/verify.c @@ -41,13 +41,14 @@ void fill_buffer_pattern(struct thread_data *td, void *p, unsigned int len) (void)cpy_pattern(td->o.buffer_pattern, td->o.buffer_pattern_bytes, p, len); } -void __fill_buffer(struct thread_options *o, unsigned long seed, void *p, - unsigned int len) +static void __fill_buffer(struct thread_options *o, unsigned long seed, void *p, + unsigned int len) { __fill_random_buf_percentage(seed, p, o->compress_percentage, len, len, o->buffer_pattern, o->buffer_pattern_bytes); } -unsigned long fill_buffer(struct thread_data *td, void *p, unsigned int len) +static unsigned long fill_buffer(struct thread_data *td, void *p, + unsigned int len) { struct frand_state *fs = &td->verify_state; struct thread_options *o = &td->o;