summaryrefslogtreecommitdiff
path: root/honggfuzz.h
diff options
context:
space:
mode:
authorRobert Swiecki <robert@swiecki.net>2017-11-09 01:30:54 +0100
committerRobert Swiecki <robert@swiecki.net>2017-11-09 01:30:54 +0100
commitb0e261a0840d94855d3986bac47319108cd12f67 (patch)
tree0196e1b330664ad165dedead2dc610ecd6638823 /honggfuzz.h
parent711afa826be527164a68e3221b79b95548efd4a3 (diff)
downloadhonggfuzz-b0e261a0840d94855d3986bac47319108cd12f67.tar.gz
fuzz: use TAILQ, as CIRCLEQ is not present under all supported OSes
Diffstat (limited to 'honggfuzz.h')
-rw-r--r--honggfuzz.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/honggfuzz.h b/honggfuzz.h
index 2b9d6735..eb63b258 100644
--- a/honggfuzz.h
+++ b/honggfuzz.h
@@ -145,7 +145,7 @@ typedef enum {
struct dynfile_t {
uint8_t* data;
size_t size;
- CIRCLEQ_ENTRY(dynfile_t)
+ TAILQ_ENTRY(dynfile_t)
pointers;
};
@@ -219,7 +219,7 @@ typedef struct {
int bbFd;
size_t dynfileqCnt;
- CIRCLEQ_HEAD(dyns_t, dynfile_t) dynfileq;
+ TAILQ_HEAD(dyns_t, dynfile_t) dynfileq;
pthread_rwlock_t dynfileq_mutex;
pthread_mutex_t feedback_mutex;