Browse Source

restructure fadvise

pull/392/head
Antonio SJ Musumeci 8 years ago
parent
commit
9d0798dbfb
  1. 4
      src/fs_base_fadvise.cpp
  2. 0
      src/fs_base_fadvise.hpp
  3. 2
      src/fs_base_fadvise_posix.icpp
  4. 0
      src/fs_base_fadvise_unsupported.icpp
  5. 2
      src/fs_clonefile.cpp
  6. 2
      src/release.cpp

4
src/fs_fadvise.cpp → src/fs_base_fadvise.cpp

@ -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

0
src/fs_fadvise.hpp → src/fs_base_fadvise.hpp

2
src/fs_fadvise_posix.icpp → src/fs_base_fadvise_posix.icpp

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

0
src/fs_fadvise_unsupported.icpp → src/fs_base_fadvise_unsupported.icpp

2
src/fs_clonefile.cpp

@ -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"

2
src/release.cpp

@ -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

Loading…
Cancel
Save