restructure fadvise

This commit is contained in:
Antonio SJ Musumeci 2017-04-07 00:12:57 -04:00
parent 581356a0c3
commit 9d0798dbfb
6 changed files with 6 additions and 4 deletions

View File

@ -17,7 +17,7 @@
#include <fcntl.h>
#if _XOPEN_SOURCE >= 600 || _POSIX_C_SOURCE >= 200112L
# include "fs_fadvise_posix.icpp"
# include "fs_base_fadvise_posix.icpp"
#else
# include "fs_fadvise_unsupported.icpp"
# include "fs_base_fadvise_unsupported.icpp"
#endif

View File

@ -14,6 +14,8 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <fcntl.h>
#include "errno.hpp"
namespace fs

View File

@ -25,6 +25,7 @@
#include "fs_base_chmod.hpp"
#include "fs_base_chown.hpp"
#include "fs_base_close.hpp"
#include "fs_base_fadvise.hpp"
#include "fs_base_fallocate.hpp"
#include "fs_base_lseek.hpp"
#include "fs_base_mkdir.hpp"
@ -33,7 +34,6 @@
#include "fs_base_stat.hpp"
#include "fs_base_utime.hpp"
#include "fs_base_write.hpp"
#include "fs_fadvise.hpp"
#include "fs_sendfile.hpp"
#include "fs_xattr.hpp"

View File

@ -22,7 +22,7 @@
#include "errno.hpp"
#include "fileinfo.hpp"
#include "fs_base_close.hpp"
#include "fs_fadvise.hpp"
#include "fs_base_fadvise.hpp"
static
int