Correctly sort headers

to get rid of llvm-include-order warnings
This commit is contained in:
Ben RUBSON 2017-10-09 19:27:04 +02:00 committed by GitHub
parent 18c36bb020
commit db97c6a7d9
3 changed files with 20 additions and 21 deletions

View File

@ -18,30 +18,29 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "DirNode.h"
#include <cerrno> #include <cerrno>
#include <cstdio> #include <cstdio>
#include <cstring>
#ifdef __linux__
#include <sys/fsuid.h>
#endif
#include <pthread.h> #include <pthread.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include <utime.h>
#include "DirNode.h"
#include "FSConfig.h"
#include "FileNode.h"
#include "FileUtils.h"
#include "NameIO.h"
#ifdef __linux__
#include <sys/fsuid.h>
#endif
#include "easylogging++.h"
#include <cstring>
#include <utility> #include <utility>
#include <utime.h>
#include "Context.h" #include "Context.h"
#include "Error.h" #include "Error.h"
#include "FSConfig.h"
#include "FileNode.h"
#include "FileUtils.h"
#include "Mutex.h" #include "Mutex.h"
#include "NameIO.h"
#include "easylogging++.h"
using namespace std; using namespace std;

View File

@ -18,22 +18,22 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "FileNode.h"
#include <cerrno> #include <cerrno>
#include <cinttypes> #include <cinttypes>
#include <cstring>
#include <fcntl.h> #include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#ifdef __linux__ #ifdef __linux__
#include <sys/fsuid.h> #include <sys/fsuid.h>
#endif #endif
#include <sys/stat.h>
#include <cstring> #include <sys/types.h>
#include <unistd.h>
#include "CipherFileIO.h" #include "CipherFileIO.h"
#include "Error.h" #include "Error.h"
#include "FileIO.h" #include "FileIO.h"
#include "FileNode.h"
#include "FileUtils.h" #include "FileUtils.h"
#include "MACFileIO.h" #include "MACFileIO.h"
#include "Mutex.h" #include "Mutex.h"

View File

@ -37,6 +37,8 @@ static const char rcsid[] =
#ifndef HAVE_READPASSPHRASE #ifndef HAVE_READPASSPHRASE
#include "readpassphrase.h"
#include <cctype> #include <cctype>
#include <cerrno> #include <cerrno>
#include <csignal> #include <csignal>
@ -48,8 +50,6 @@ static const char rcsid[] =
#include <termios.h> #include <termios.h>
#include <unistd.h> #include <unistd.h>
#include "readpassphrase.h"
#ifdef TCSASOFT #ifdef TCSASOFT
#define _T_FLUSH (TCSAFLUSH | TCSASOFT) #define _T_FLUSH (TCSAFLUSH | TCSASOFT)
#else #else