From 82c14498e945ebf373a1460017e51dce47b6a62a Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Wed, 24 Aug 2016 17:33:31 +0300 Subject: [PATCH] Remove double typedef from monitor.h Struct monitor was typedef'ed twice which caused compilation problems on CentOS 6. Removing the latter definition fixes that. --- server/include/monitor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/include/monitor.h b/server/include/monitor.h index 33ca05ecb..988a2a2b2 100644 --- a/server/include/monitor.h +++ b/server/include/monitor.h @@ -172,7 +172,7 @@ typedef struct monitor_servers /** * Representation of the running monitor. */ -typedef struct monitor +struct monitor { char *name; /**< The name of the monitor module */ char *user; /*< Monitor username */ @@ -194,7 +194,7 @@ typedef struct monitor void *handle; /**< Handle returned from startMonitor */ size_t interval; /**< The monitor interval */ struct monitor *next; /**< Next monitor in the linked list */ -} MONITOR; +}; extern MONITOR *monitor_alloc(char *, char *); extern void monitor_free(MONITOR *);