Skip to content

Commit

Permalink
st: Add 'static const'
Browse files Browse the repository at this point in the history
  • Loading branch information
k-takata committed Dec 9, 2016
1 parent 421843d commit 44e3c0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions st.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ struct st_features {
/* Features of all possible size tables. */
#if SIZEOF_ST_INDEX_T == 8
#define MAX_POWER2 62
struct st_features features[] = {
static const struct st_features features[] = {
{0, 1, 0, 0x0},
{1, 2, 0, 0x1},
{2, 3, 0, 0x1},
Expand Down Expand Up @@ -263,7 +263,7 @@ struct st_features features[] = {
#else
#define MAX_POWER2 30

struct st_features features[] = {
static const struct st_features features[] = {
{0, 1, 0, 0x1},
{1, 2, 0, 0x1},
{2, 3, 0, 0x2},
Expand Down

0 comments on commit 44e3c0a

Please sign in to comment.