# HG changeset patch # User Matti Hamalainen # Date 1418666410 -7200 # Node ID ed8c803a948c4cf118f0c9535455f1fcaf3c4e42 # Parent 7b137e4e817c197eb0b75af8434e1ae37367c692 Static constify. diff -r 7b137e4e817c -r ed8c803a948c sidinfo.c --- 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