Commits

Shlomi Fish committed 9e5d99f

Made Osuit const.

Comments (0)

Files changed (2)

 const char Rank[] = " A23456789TJQK";
 const char Suit[] = "DCHS";
 
+const card_t Osuit[4] = { PS_DIAMOND, PS_CLUB, PS_HEART, PS_SPADE };
+
 card_t O[4];
-card_t Osuit[4] = { PS_DIAMOND, PS_CLUB, PS_HEART, PS_SPADE };
 
 /* Position freelist. */
 
 extern int Widxi[MAXWPILES];    /* inverse of the above */
 
 extern card_t O[4];             /* output piles store only the rank or NONE */
-extern card_t Osuit[4];         /* suits of the output piles */
+extern const card_t Osuit[4];         /* suits of the output piles */
 
 /* Temp storage for possible moves. */