aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/watchdogd
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2013-04-08 08:05:15 +0000
committerEd Schouten <ed@FreeBSD.org>2013-04-08 08:05:15 +0000
commit5e49d30e8962cc3b966130d737636baf3117847b (patch)
tree49472a45c703eb0a59afce8d4ee0dfdee860a64e /usr.sbin/watchdogd
parentdc5929d40a4fea24eeea3f63b302af81a7598b61 (diff)
downloadsrc-5e49d30e8962cc3b966130d737636baf3117847b.tar.gz
src-5e49d30e8962cc3b966130d737636baf3117847b.zip
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
Notes
Notes: svn path=/head/; revision=249245
Diffstat (limited to 'usr.sbin/watchdogd')
-rw-r--r--usr.sbin/watchdogd/watchdogd.c2
1 files changed, 1 insertions, 1 deletions
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 },