From: Tomohiro Kusumi Date: Mon, 15 Jan 2018 19:52:11 +0000 (+0200) Subject: null: make *impl_ private X-Git-Tag: fio-3.4~20 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=7caf10f1b7c6e52280603c4fb45ffc41f60190b9;p=fio.git null: make *impl_ private This can/should be private, given struct is default public in C++. The null ioengine only needs access to new'd NullData which encapsulates malloc'd null_data *impl_. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- diff --git a/engines/null.c b/engines/null.c index 47f29054..cf1ee1f2 100644 --- a/engines/null.c +++ b/engines/null.c @@ -213,6 +213,7 @@ struct NullData { return null_open(impl_, f); } +private: struct null_data *impl_; };