Made some const arrays static to avoid unnecessary stack usage.

This commit is contained in:
Dan Fandrich
2007-07-20 00:41:12 +00:00
parent dca3564cfb
commit 4a2f0fb2be
5 changed files with 7 additions and 7 deletions

View File

@@ -373,7 +373,7 @@ int main(int argc, argv_item_t argv[])
int adds=0;
int rc;
long sizes[]={
static const long sizes[]={
50, 60, 50, 100, 60, 200, 120, 300, 400, 200, 256, 122, 60, 120, 200, 300,
220, 80, 90, 50, 100, 60, 200, 120, 300, 400, 200, 256, 122, 60, 120, 200,
300, 220, 80, 90, 50, 100, 60, 200, 120, 300, 400, 200, 256, 122, 60, 120,