summaryrefslogtreecommitdiff
path: root/honggfuzz.h
diff options
context:
space:
mode:
authorRobert Swiecki <robert@swiecki.net>2020-04-23 23:22:28 +0200
committerRobert Swiecki <robert@swiecki.net>2020-04-23 23:22:28 +0200
commit773c933853625912f3566f364d02ba72e963c7d1 (patch)
treef7c9d3554146c825b93b328410b8d22d083a6e0e /honggfuzz.h
parentb19229a948997bcf9203f25a10b9aaaef275df01 (diff)
downloadhonggfuzz-773c933853625912f3566f364d02ba72e963c7d1.tar.gz
all: rename linux/netbsd to arch_linux/arch_netbsd as -std=gnu11 complains about linux as an identifier
Diffstat (limited to 'honggfuzz.h')
-rw-r--r--honggfuzz.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/honggfuzz.h b/honggfuzz.h
index 4c774677..b7a2c190 100644
--- a/honggfuzz.h
+++ b/honggfuzz.h
@@ -318,7 +318,7 @@ typedef struct {
tristate_t useNetNs;
bool kernelOnly;
bool useClone;
- } linux;
+ } arch_linux;
/* For the NetBSD code */
struct {
void* ignoreAddr;
@@ -328,7 +328,7 @@ typedef struct {
const char* symsWlFile;
char** symsWl;
size_t symsWlCnt;
- } netbsd;
+ } arch_netbsd;
} honggfuzz_t;
typedef enum {
@@ -373,7 +373,7 @@ typedef struct {
int cpuInstrFd;
int cpuBranchFd;
int cpuIptBtsFd;
- } linux;
+ } arch_linux;
struct {
/* For NetBSD code */
@@ -382,7 +382,7 @@ typedef struct {
int cpuInstrFd;
int cpuBranchFd;
int cpuIptBtsFd;
- } netbsd;
+ } arch_netbsd;
} run_t;
/*