Skip to content

Commit

Permalink
fix ISO C does not allow extra ;
Browse files Browse the repository at this point in the history
```
  naemon/workers.h:15:18: error: ISO C does not allow extra ‘;’ outside of a function [-Werror=pedantic]
```
  • Loading branch information
sni committed Feb 21, 2023
1 parent 492b8f8 commit 2916d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/naemon/workers.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#define WPROC_FORCE (1 << 0)

NAGIOS_BEGIN_DECL;
NAGIOS_BEGIN_DECL

typedef struct wproc_result {
unsigned int job_id;
Expand Down Expand Up @@ -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

0 comments on commit 2916d62

Please sign in to comment.