From 2916d6264b5dd6bbd1c0cb911349cdfc723eada5 Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Mon, 20 Feb 2023 11:14:35 +0100 Subject: [PATCH] fix ISO C does not allow extra ; MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` naemon/workers.h:15:18: error: ISO C does not allow extra ‘;’ outside of a function [-Werror=pedantic] ``` --- src/naemon/workers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/naemon/workers.h b/src/naemon/workers.h index 07fcbe520..f96db8903 100644 --- a/src/naemon/workers.h +++ b/src/naemon/workers.h @@ -12,7 +12,7 @@ #define WPROC_FORCE (1 << 0) -NAGIOS_BEGIN_DECL; +NAGIOS_BEGIN_DECL typedef struct wproc_result { unsigned int job_id; @@ -45,5 +45,5 @@ int init_workers(int desired_workers); int wproc_run_callback(char *cmt, int timeout, void (*cb)(struct wproc_result *, void *, int), void *data, nagios_macros *mac); -NAGIOS_END_DECL; +NAGIOS_END_DECL #endif