From 7caf10f1b7c6e52280603c4fb45ffc41f60190b9 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Mon, 15 Jan 2018 21:52:11 +0200 Subject: [PATCH] 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 --- engines/null.c | 1 + 1 file changed, 1 insertion(+) 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_; }; -- 2.25.1