diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-07-20 00:41:12 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-07-20 00:41:12 +0000 |
commit | 4a2f0fb2beb95b2edccead115a92971643bd5297 (patch) | |
tree | aa540c5a7d6ee471db954dfaa131c112cd5de475 /lib/splay.c | |
parent | dca3564cfbe636f9937949b7127a39f6ffac2bdf (diff) | |
download | curl-4a2f0fb2beb95b2edccead115a92971643bd5297.tar.gz |
Made some const arrays static to avoid unnecessary stack usage.
Diffstat (limited to 'lib/splay.c')
-rw-r--r-- | lib/splay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/splay.c b/lib/splay.c index acfa373e2..f5542af4c 100644 --- a/lib/splay.c +++ b/lib/splay.c @@ -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, |