Branch: Tag:

2004-09-18

2004-09-18 22:02:45 by Martin Nilsson <mani@lysator.liu.se>

MAde htable_size and num_strings static.

Rev: src/stralloc.c:1.167

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: stralloc.c,v 1.166 2004/09/18 20:50:56 nilsson Exp $ + || $Id: stralloc.c,v 1.167 2004/09/18 22:02:45 nilsson Exp $   */      #include "global.h"
90:   static unsigned int need_more_hash_prefix=0;   #endif    - unsigned INT32 htable_size=0; + static unsigned INT32 htable_size=0;   static unsigned int hashprimes_entry=0;   static struct pike_string **base_table=0; - unsigned INT32 num_strings=0; + static unsigned INT32 num_strings=0;   PMOD_EXPORT struct pike_string *empty_pike_string = 0;      /*** Main string hash function ***/