summaryrefslogtreecommitdiffstats
path: root/server/monitor
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-10-15 12:16:25 -0400
committerSimo Sorce <ssorce@redhat.com>2009-10-15 18:19:57 -0400
commit93362b533abfc41ad4d8c3e91399549a545b9d51 (patch)
tree6052c30ccb7519e8357fcdfddc182bc9f1dd64dc /server/monitor
parent02bf83eaf9eb9733536c6c56afcbc70e312b3cd6 (diff)
Remove warnings caused by 5e2301b8a75d10e5cbbe11e26e5192b894af6ad7
There were unused functions still being compiled. This will suppress them until we turn live configuration updates back on.
Diffstat (limited to 'server/monitor')
-rw-r--r--server/monitor/monitor.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/monitor/monitor.c b/server/monitor/monitor.c
index 6c6306718..427e10d19 100644
--- a/server/monitor/monitor.c
+++ b/server/monitor/monitor.c
@@ -144,8 +144,11 @@ static int add_new_provider(struct mt_ctx *ctx, const char *name);
static int mark_service_as_started(struct mt_svc *svc);
+#if 0
static int monitor_signal_reconf(struct config_file_ctx *file_ctx,
const char *filename);
+#endif
+
static int update_monitor_config(struct mt_ctx *ctx);
static int monitor_cleanup(void);
@@ -755,6 +758,10 @@ done:
dbus_message_unref(reply);
}
+#if 0
+This function should be re-enabled once live configuration updates
+are working properly.
+
static int monitor_signal_reconf(struct config_file_ctx *file_ctx,
const char *filename)
{
@@ -772,6 +779,7 @@ static int monitor_signal_reconf(struct config_file_ctx *file_ctx,
/* Update the monitor's configuration and signal children */
return update_monitor_config(file_ctx->mt_ctx);
}
+#endif
static int service_signal_dns_reload(struct mt_svc *svc);
static int monitor_update_resolv(struct config_file_ctx *file_ctx,