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

Diff for /mandoc/Attic/man_hash.c between version 1.12 and 1.13

version 1.12, 2009/09/16 14:40:56 version 1.13, 2009/09/16 20:49:06
Line 22 
Line 22 
 #include "libman.h"  #include "libman.h"
   
   
 static  unsigned char   table[26 * 6];  static  u_char          table[26 * 6];
   
   
 void  void
Line 42  man_hash_init(void)
Line 42  man_hash_init(void)
   
                 for (j = 0; j < 6; j++)                  for (j = 0; j < 6; j++)
                         if (UCHAR_MAX == table[x + j]) {                          if (UCHAR_MAX == table[x + j]) {
                                 table[x + j] = i;                                  table[x + j] = (u_char)i;
                                 break;                                  break;
                         }                          }
                 assert(j < 6);                  assert(j < 6);

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

CVSweb