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
24af94438a
commit
674bf2b68f
@ -71,7 +71,7 @@ typedef enum {
|
||||
SRC_UNKNOWN,
|
||||
} power_src_t;
|
||||
|
||||
const char *modes[] = {
|
||||
static const char *modes[] = {
|
||||
"AC",
|
||||
"battery",
|
||||
"unknown"
|
||||
|
Loading…
Reference in New Issue
Block a user