about summary refs log tree commit diff
path: root/src/afl-fuzz-one.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-06-14 12:36:41 +0200
committervanhauser-thc <vh@thc.org>2021-06-14 12:36:41 +0200
commit74fcb365e99ce86e405e52b586baa9d0f825f70c (patch)
treeadc38e912dd1631115843558edec8bda37b84447 /src/afl-fuzz-one.c
parentade8cdca55951958024c86766453430f904381c5 (diff)
downloadafl++-74fcb365e99ce86e405e52b586baa9d0f825f70c.tar.gz
little inline
Diffstat (limited to 'src/afl-fuzz-one.c')
-rw-r--r--src/afl-fuzz-one.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c
index c3ce2edd..11adebf4 100644
--- a/src/afl-fuzz-one.c
+++ b/src/afl-fuzz-one.c
@@ -73,7 +73,7 @@ static int select_algorithm(afl_state_t *afl, u32 max_algorithm) {
 /* Helper to choose random block len for block operations in fuzz_one().
    Doesn't return zero, provided that max_len is > 0. */
 
-static u32 choose_block_len(afl_state_t *afl, u32 limit) {
+static inline u32 choose_block_len(afl_state_t *afl, u32 limit) {
 
   u32 min_value, max_value;
   u32 rlim = MIN(afl->queue_cycle, (u32)3);