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
This commit is contained in:
parent
dc5929d40a
commit
5e49d30e89
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249245
@ -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 },
|
||||
|
Loading…
Reference in New Issue
Block a user