Signed-off-by: Pete Zaitcev <zait...@redhat.com>

---
 server/server.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 93b990f68e5c2c652759a2db8af049d172b8489c
Author: Pete Zaitcev <zait...@yahoo.com>
Date:   Thu Aug 5 20:33:21 2010 -0600

    Make initialized struct a static const.

diff --git a/server/server.c b/server/server.c
index 0d6316d..814afec 100644
--- a/server/server.c
+++ b/server/server.c
@@ -1413,7 +1413,7 @@ err_out:
 
 static void add_chkpt_timer(void)
 {
-       struct timeval tv = { TABLED_CHKPT_SEC, 0 };
+       static const struct timeval tv = { TABLED_CHKPT_SEC, 0 };
 
        if (evtimer_add(&tabled_srv.chkpt_timer, &tv) < 0)
                applog(LOG_WARNING, "unable to add checkpoint timer");
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to