diff options
author | ed <ed@FreeBSD.org> | 2011-12-11 19:22:42 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-12-11 19:22:42 +0000 |
commit | 674bf2b68f0f155c671907ea51b74661962952ae (patch) | |
tree | 65e9424cd33ba1d19bc84bf50992fc31cbc82409 /usr.sbin | |
parent | 24af94438a9d7570f0b95d8c73b4e1e52d480799 (diff) | |
download | FreeBSD-src-674bf2b68f0f155c671907ea51b74661962952ae.zip FreeBSD-src-674bf2b68f0f155c671907ea51b74661962952ae.tar.gz |
Add missing static keyword.
All global variables and functions in powerd are marked static, except
this array of strings. Add the keyword, for consistency.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/powerd/powerd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/powerd/powerd.c b/usr.sbin/powerd/powerd.c index a1a5126..8db875b 100644 --- a/usr.sbin/powerd/powerd.c +++ b/usr.sbin/powerd/powerd.c @@ -71,7 +71,7 @@ typedef enum { SRC_UNKNOWN, } power_src_t; -const char *modes[] = { +static const char *modes[] = { "AC", "battery", "unknown" |