aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--projects/firefox/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/firefox/target.c b/projects/firefox/target.c
index 1c225657..55d2c4e0 100644
--- a/projects/firefox/target.c
+++ b/projects/firefox/target.c
@@ -8,7 +8,7 @@
#define STRINGIFY(S) STRINGLIT(S)
// Required for oss-fuzz to consider the binary a target.
-static const char* magic = "LLVMFuzzerTestOneInput";
+static const char* magic __attribute__((used)) = "LLVMFuzzerTestOneInput";
int main(int argc, char* argv[]) {
char path[PATH_MAX] = {0};