From f7fe6b149164896d28759c9089257fd66bb72210 Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 28 Sep 2016 23:33:44 +0200 Subject: [PATCH] Reorder includes in hashcat.c --- src/hashcat.c | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/src/hashcat.c b/src/hashcat.c index 7bf8c68a5..90e046eb1 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -9,26 +9,21 @@ #include "common.h" -#include -#include -#include -#include -#include -#include -#include - -#if defined (_POSIX) -#include -#include -#endif // _POSIX +// basic tools #include "types.h" +#include "memory.h" +#include "logging.h" + +// features + #include "affinity.h" #include "attack_mode.h" #include "autotune.h" #include "benchmark.h" #include "bitmap.h" #include "bitops.h" +#include "combinator.h" #include "convert.h" #include "cpu_aes.h" #include "cpu_crc32.h" @@ -55,9 +50,7 @@ #include "interface.h" #include "locking.h" #include "logfile.h" -#include "logging.h" #include "loopback.h" -#include "memory.h" #include "monitor.h" #include "mpsp.h" #include "opencl.h" @@ -67,14 +60,15 @@ #include "powertune.h" #include "remove.h" #include "restore.h" -#include "rp_cpu.h" #include "rp.h" +#include "rp_cpu.h" #include "rp_kernel_on_cpu.h" #include "runtime.h" #include "session.h" #include "shared.h" #include "status.h" #include "stdout.h" +#include "straight.h" #include "terminal.h" #include "thread.h" #include "timer.h" @@ -84,8 +78,6 @@ #include "version.h" #include "weak_hash.h" #include "wordlist.h" -#include "straight.h" -#include "combinator.h" extern hc_global_data_t data;