Add missing static keyword.
All global variables and functions in powerd are marked static, except this array of strings. Add the keyword, for consistency.
This commit is contained in:
parent
62aca36544
commit
e120624d32
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228416
@ -71,7 +71,7 @@ typedef enum {
|
|||||||
SRC_UNKNOWN,
|
SRC_UNKNOWN,
|
||||||
} power_src_t;
|
} power_src_t;
|
||||||
|
|
||||||
const char *modes[] = {
|
static const char *modes[] = {
|
||||||
"AC",
|
"AC",
|
||||||
"battery",
|
"battery",
|
||||||
"unknown"
|
"unknown"
|
||||||
|
Loading…
Reference in New Issue
Block a user