From 47414c6cd6593d8220519d8539a8a76a6c705078 Mon Sep 17 00:00:00 2001 From: sdong Date: Wed, 28 Oct 2015 11:57:14 -0700 Subject: [PATCH] Move include/posix/io_posix.h to util/io_posix.h Summary: include/posix/io_posix.h is not a public API. Although include/posix/ is not a public header directory, it is confusing to put non-public headers to under include/. Move it to util/ to be clearer. Test Plan: Run all tests Reviewers: rven, IslamAbdelRahman, anthony, kradhakrishnan, yhchiang, igor Reviewed By: igor Subscribers: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D49611 --- util/env_posix.cc | 2 +- util/io_posix.cc | 2 +- {include/posix => util}/io_posix.h | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {include/posix => util}/io_posix.h (100%) diff --git a/util/env_posix.cc b/util/env_posix.cc index a434b8216..b2268b428 100644 --- a/util/env_posix.cc +++ b/util/env_posix.cc @@ -39,9 +39,9 @@ #include #include #include "port/port.h" -#include "posix/io_posix.h" #include "rocksdb/slice.h" #include "util/coding.h" +#include "util/io_posix.h" #include "util/iostats_context_imp.h" #include "util/logging.h" #include "util/posix_logger.h" diff --git a/util/io_posix.cc b/util/io_posix.cc index 535dade78..0854ab013 100644 --- a/util/io_posix.cc +++ b/util/io_posix.cc @@ -9,7 +9,7 @@ #ifdef ROCKSDB_LIB_IO_POSIX -#include "posix/io_posix.h" +#include "util/io_posix.h" #include #include #if defined(OS_LINUX) diff --git a/include/posix/io_posix.h b/util/io_posix.h similarity index 100% rename from include/posix/io_posix.h rename to util/io_posix.h