[fuzzer][afl] Fix build with GCC
Summary:
Fixes this build error with GCC 9.3.0:
```
../lib/fuzzer/afl/afl_driver.cpp:114:30: error: expected unqualified-id before string constant
114 | __attribute__((weak)) extern "C" void __sanitizer_set_report_fd(void *);
| ^~~
```
Reviewers: metzman, kcc
Reviewed By: kcc
Subscribers: #sanitizers
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D80479
GitOrigin-RevId: 2e824925402f011c2a4d3a0b51cce388b6d14d16
diff --git a/afl/afl_driver.cpp b/afl/afl_driver.cpp
index bb3b48f..457f180 100644
--- a/afl/afl_driver.cpp
+++ b/afl/afl_driver.cpp
@@ -111,7 +111,7 @@
// Use this optionally defined function to output sanitizer messages even if
// user asks to close stderr.
-__attribute__((weak)) extern "C" void __sanitizer_set_report_fd(void *);
+extern "C" __attribute__((weak)) void __sanitizer_set_report_fd(void *);
// Keep track of where stderr content is being written to, so that
// dup_and_close_stderr can use the correct one.