Author: ed
Date: Sun Dec 11 19:22:42 2011
New Revision: 228416
URL: http://svn.freebsd.org/changeset/base/228416

Log:
  Add missing static keyword.
  
  All global variables and functions in powerd are marked static, except
  this array of strings. Add the keyword, for consistency.

Modified:
  head/usr.sbin/powerd/powerd.c

Modified: head/usr.sbin/powerd/powerd.c
==============================================================================
--- head/usr.sbin/powerd/powerd.c       Sun Dec 11 18:46:14 2011        
(r228415)
+++ head/usr.sbin/powerd/powerd.c       Sun Dec 11 19:22:42 2011        
(r228416)
@@ -71,7 +71,7 @@ typedef enum {
        SRC_UNKNOWN,
 } power_src_t;
 
-const char *modes[] = {
+static const char *modes[] = {
        "AC",
        "battery",
        "unknown"
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to