From a00bd4ad5e69af2a390e4730d95be59e5e28b990 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 9 Sep 2009 22:56:10 +0200 Subject: [PATCH] update machinery: fix accidential naming conflict --- src/moc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/moc.c b/src/moc.c index 92d719e7..107eae03 100644 --- a/src/moc.c +++ b/src/moc.c @@ -99,9 +99,9 @@ static void update_infos(void) pclose(fp); } -void *update_moc(void *) __attribute__((noreturn)); +static void *update_moc_loop(void *) __attribute__((noreturn)); -void *update_moc(void *arg) +static void *update_moc_loop(void *arg) { (void)arg; @@ -121,7 +121,7 @@ static int run_moc_thread(double interval) if (moc_thread) return 0; - moc_thread = timed_thread_create(&update_moc, NULL, interval); + moc_thread = timed_thread_create(&update_moc_loop, NULL, interval); if (!moc_thread) { NORM_ERR("Failed to create MOC timed thread"); return 1;