From 93362b533abfc41ad4d8c3e91399549a545b9d51 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 15 Oct 2009 12:16:25 -0400 Subject: Remove warnings caused by 5e2301b8a75d10e5cbbe11e26e5192b894af6ad7 There were unused functions still being compiled. This will suppress them until we turn live configuration updates back on. --- server/monitor/monitor.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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, -- cgit