diff options
author | ed <ed@FreeBSD.org> | 2013-04-08 08:05:15 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2013-04-08 08:05:15 +0000 |
commit | e2882f43063137c60b8a5eb26c5146b4a352cb1c (patch) | |
tree | 49472a45c703eb0a59afce8d4ee0dfdee860a64e /usr.sbin | |
parent | 97e8e7f525e30bbde23be3aca9b829c9004b2307 (diff) | |
download | FreeBSD-src-e2882f43063137c60b8a5eb26c5146b4a352cb1c.zip FreeBSD-src-e2882f43063137c60b8a5eb26c5146b4a352cb1c.tar.gz |
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
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/watchdogd/watchdogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/watchdogd/watchdogd.c b/usr.sbin/watchdogd/watchdogd.c index e255e07..5416751 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 }, |