From 5732990c805948249bdc3d43a52cfe050ad66a95 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Tue, 30 Jul 2019 12:34:27 +0100 Subject: Use #include "klee/..." (instead of #include ) consistently. --- runtime/POSIX/fd.c | 19 ++++++++++--------- runtime/POSIX/fd_64.c | 22 +++++++++++----------- runtime/POSIX/fd_init.c | 8 ++++---- runtime/POSIX/illegal.c | 10 +++++----- runtime/POSIX/misc.c | 7 ++++--- 5 files changed, 34 insertions(+), 32 deletions(-) (limited to 'runtime/POSIX') diff --git a/runtime/POSIX/fd.c b/runtime/POSIX/fd.c index 5a3faa16..a2cbe0ab 100644 --- a/runtime/POSIX/fd.c +++ b/runtime/POSIX/fd.c @@ -10,27 +10,28 @@ #define _LARGEFILE64_SOURCE #include "fd.h" -#include +#include "klee/klee.h" + +#include +#include +#include +#include #include #include -#include -#include +#include #include +#include #include -#include -#include -#include #ifndef __FreeBSD__ #include #endif -#include #include #include #include -#include #include -#include #include +#include +#include /* Returns pointer to the symbolic file structure fs the pathname is symbolic */ static exe_disk_file_t *__get_sym_file(const char *pathname) { diff --git a/runtime/POSIX/fd_64.c b/runtime/POSIX/fd_64.c index 3bf48f5e..61d9dc6f 100644 --- a/runtime/POSIX/fd_64.c +++ b/runtime/POSIX/fd_64.c @@ -15,32 +15,32 @@ #endif #endif - -#include "klee/Config/Version.h" #define _LARGEFILE64_SOURCE #define _FILE_OFFSET_BITS 64 #include "fd.h" -#include +#include "klee/Config/Version.h" +#include "klee/klee.h" + +#include +#include +#include +#include #include #include -#include -#include +#include #include +#include #include -#include -#include -#include #ifndef __FreeBSD__ #include #endif -#include #include #include #include -#include #include -#include +#include +#include /*** Forward to actual implementations ***/ diff --git a/runtime/POSIX/fd_init.c b/runtime/POSIX/fd_init.c index 327ddb53..8845fc9c 100644 --- a/runtime/POSIX/fd_init.c +++ b/runtime/POSIX/fd_init.c @@ -10,17 +10,17 @@ #define _LARGEFILE64_SOURCE #define _FILE_OFFSET_BITS 64 #include "fd.h" -#include -#include +#include "klee/klee.h" + +#include #include #include -#include +#include #include #include #include - exe_file_system_t __exe_fs; /* NOTE: It is important that these are statically initialized diff --git a/runtime/POSIX/illegal.c b/runtime/POSIX/illegal.c index 8b8c0134..8ded0987 100644 --- a/runtime/POSIX/illegal.c +++ b/runtime/POSIX/illegal.c @@ -7,14 +7,14 @@ // //===----------------------------------------------------------------------===// -#include +#include "klee/klee.h" + #include -#include -#include #include +#include +#include #include - -#include +#include void klee_warning(const char*); void klee_warning_once(const char*); diff --git a/runtime/POSIX/misc.c b/runtime/POSIX/misc.c index 7335dee2..94c495f5 100644 --- a/runtime/POSIX/misc.c +++ b/runtime/POSIX/misc.c @@ -7,13 +7,14 @@ // //===----------------------------------------------------------------------===// +#include "klee/klee.h" + #include -#include -#include #include #include -#include #include +#include +#include #if 0 #define MAX_SYM_ENV_SIZE 32 -- cgit 1.4.1