From 5e49d30e8962cc3b966130d737636baf3117847b Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Mon, 8 Apr 2013 08:05:15 +0000 Subject: [PATCH] Mark the act_tbl static/const. This table is only used within this source file and is only accessed read-only. MFC after: 1 week --- usr.sbin/watchdogd/watchdogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/watchdogd/watchdogd.c b/usr.sbin/watchdogd/watchdogd.c index e255e07bcc53..5416751d4cc3 100644 --- a/usr.sbin/watchdogd/watchdogd.c +++ b/usr.sbin/watchdogd/watchdogd.c @@ -455,7 +455,7 @@ struct act_tbl { int at_value; }; -struct act_tbl act_tbl[] = { +static const struct act_tbl act_tbl[] = { { "panic", WD_SOFT_PANIC }, { "ddb", WD_SOFT_DDB }, { "log", WD_SOFT_LOG },