From 684f4dd1c44053517c6685a8a3137691535ecd84 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Wed, 11 Mar 2020 11:42:57 +0100 Subject: honor afl_quiet on env var checks + code-format --- llvm_mode/afl-ld.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'llvm_mode/afl-ld.c') diff --git a/llvm_mode/afl-ld.c b/llvm_mode/afl-ld.c index 0a244727..860ec569 100644 --- a/llvm_mode/afl-ld.c +++ b/llvm_mode/afl-ld.c @@ -78,7 +78,7 @@ static u32 ld_param_cnt = 1, /* Number of params to 'ld' */ /* This function wipes a directory - our AR unpack directory in this case */ static u8 wipe_directory(u8 *path) { - DIR *d; + DIR * d; struct dirent *d_ent; d = opendir(path); @@ -328,12 +328,12 @@ static void edit_params(int argc, char **argv) { // where the same "foo.o" was in both .a archives. llvm-link does not // like this so we have to work around that ... - u8 this_wd[4096], *this_ar; - u8 ar_params_cnt = 4; - u8 *ar_params[ar_params_cnt]; - u8 *file = argv[i]; - s32 pid, status; - DIR *arx; + u8 this_wd[4096], *this_ar; + u8 ar_params_cnt = 4; + u8 * ar_params[ar_params_cnt]; + u8 * file = argv[i]; + s32 pid, status; + DIR * arx; struct dirent *dir_ent; if (libdir_index < libdir_cnt) file = libdir_file; -- cgit 1.4.1