From 02c7f0d980c5b8c734ca68e76eec8d36b138998d Mon Sep 17 00:00:00 2001 From: Christiano Haesbaert Date: Thu, 2 May 2024 20:45:20 +0200 Subject: [PATCH] Fix invalid prototype (-Werror=strict-prototypes) (#189) This makes the library compile with -Werror=strict-prototypes, symbols that take no arguments should declare them as void. --- non-GPL/Events/Lib/EbpfEvents.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/non-GPL/Events/Lib/EbpfEvents.h b/non-GPL/Events/Lib/EbpfEvents.h index 74e77419..71a120bf 100644 --- a/non-GPL/Events/Lib/EbpfEvents.h +++ b/non-GPL/Events/Lib/EbpfEvents.h @@ -25,7 +25,7 @@ struct ebpf_event_ctx; typedef int (*ebpf_event_handler_fn)(struct ebpf_event_header *); /* Turn on logging of all libbpf debug logs to stderr */ -int ebpf_set_verbose_logging(); +int ebpf_set_verbose_logging(void); /* Allocates a new context based on requested events and capabilities. *