Fix warning for array subscript outside array bounds in function declaration

Thanks to gcc version 11.2.0
This commit is contained in:
Soner Tari 2022-09-24 11:06:21 +03:00
parent e456f56001
commit 91fc80cb67
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ int log_cert_submit(const char *, X509 *) NONNULL(1,2) WUNRES;
int log_preinit(global_t *) NONNULL(1) WUNRES;
void log_preinit_undo(void);
int log_init(global_t *, proxy_ctx_t *, int[3]) NONNULL(1,2) WUNRES;
int log_init(global_t *, proxy_ctx_t *, int[5]) NONNULL(1,2) WUNRES;
void log_fini(void);
int log_reopen(void) WUNRES;
void log_exceptcb(void);

View File

@ -144,7 +144,7 @@ int log_content_split_pathspec(const char *, char **,
int log_preinit(opts_t *) NONNULL(1) WUNRES;
void log_preinit_undo(void);
int log_init(opts_t *, proxy_ctx_t *, int[3]) NONNULL(1,2) WUNRES;
int log_init(opts_t *, proxy_ctx_t *, int[5]) NONNULL(1,2) WUNRES;
void log_fini(void);
int log_reopen(void) WUNRES;
void log_exceptcb(void);