Skip to content

Commit

Permalink
Fix invalid prototype (-Werror=strict-prototypes) (#189)
Browse files Browse the repository at this point in the history
This makes the library compile with -Werror=strict-prototypes, symbols that take
no arguments should declare them as void.
  • Loading branch information
haesbaert authored May 2, 2024
1 parent 4805fa0 commit 02c7f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion non-GPL/Events/Lib/EbpfEvents.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 02c7f0d

Please sign in to comment.