[BACK]Return to mdoc_hash.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/mdoc_hash.c between version 1.23 and 1.24

version 1.23, 2015/04/02 22:48:17 version 1.24, 2015/04/18 17:01:58
Line 32 
Line 32 
 static  unsigned char    table[27 * 12];  static  unsigned char    table[27 * 12];
   
   
 /*  
  * XXX - this hash has global scope, so if intended for use as a library  
  * with multiple callers, it will need re-invocation protection.  
  */  
 void  void
 mdoc_hash_init(void)  mdoc_hash_init(void)
 {  {
         int              i, j, major;          int              i, j, major;
         const char      *p;          const char      *p;
   
           if (*table != '\0')
                   return;
   
         memset(table, UCHAR_MAX, sizeof(table));          memset(table, UCHAR_MAX, sizeof(table));
   

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

CVSweb