summaryrefslogtreecommitdiff
path: root/fuzz/fuzzer.h
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2023-04-24 12:39:42 +0900
committerDaiki Ueno <ueno@gnu.org>2023-04-24 12:45:46 +0900
commitaa5950abab56b011331ad4331409b6ff8efb8aeb (patch)
treead363fb38e8b65c942876641cda9c76caa13b498 /fuzz/fuzzer.h
parent0fe9cb6842d63761718046cc7dd7eb437e6c5163 (diff)
downloadgnutls-aa5950abab56b011331ad4331409b6ff8efb8aeb.tar.gz
build: re-indent code
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'fuzz/fuzzer.h')
-rw-r--r--fuzz/fuzzer.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/fuzz/fuzzer.h b/fuzz/fuzzer.h
index 66141adddc..f6cc3efc02 100644
--- a/fuzz/fuzzer.h
+++ b/fuzz/fuzzer.h
@@ -15,19 +15,21 @@
* along with gnutls. If not, see <https://www.gnu.org/licenses/>.
*/
-#include <stddef.h> // size_t
-#include <stdint.h> // uint8_t
+#include <stddef.h> // size_t
+#include <stdint.h> // uint8_t
#include <gnutls/gnutls.h>
#if defined __clang__ || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
-# pragma GCC diagnostic ignored "-Wvla-larger-than="
+#pragma GCC diagnostic ignored "-Wvla-larger-than="
#endif
#ifdef __cplusplus
extern "C"
#endif
-#define VERS_STR "-VERS-ALL:+VERS-TLS1.3:+VERS-TLS1.2:+VERS-TLS1.1:+VERS-TLS1.0:+VERS-SSL3.0"
-int LLVMFuzzerTestOneInput(const uint8_t * data, size_t size);
+#define VERS_STR \
+ "-VERS-ALL:+VERS-TLS1.3:+VERS-TLS1.2:+VERS-TLS1.1:+VERS-TLS1.0:+VERS-SSL3.0"
+ int
+ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
static void __attribute__((constructor)) init(void)
{