changeset 45:ed8c803a948c

Static constify.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 15 Dec 2014 20:00:10 +0200
parents 7b137e4e817c
children 8b7b1315ca2b
files sidinfo.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sidinfo.c	Sat Nov 22 23:46:56 2014 +0200
+++ b/sidinfo.c	Mon Dec 15 20:00:10 2014 +0200
@@ -52,7 +52,7 @@
 } PSFOption;
 
 
-const PSFOption optPSFlags[] =
+static const PSFOption optPSFlags[] =
 {
     { SIF_TYPE           , "Type"       , NULL },
     { SIF_VERSION        , "Version"    , NULL },
@@ -77,7 +77,7 @@
     { SIF_ALL            , "All"        , NULL },
 };
 
-const int noptPSFlags = sizeof(optPSFlags) / sizeof(optPSFlags[0]);
+static const int noptPSFlags = sizeof(optPSFlags) / sizeof(optPSFlags[0]);
 
 
 // Option variables