[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.13 and 1.15

version 1.13, 2009/09/16 20:49:06 version 1.15, 2009/09/23 11:53:45
Line 14 
Line 14 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   #include <sys/types.h>
   
 #include <assert.h>  #include <assert.h>
 #include <limits.h>  #include <limits.h>
 #include <stdlib.h>  #include <stdlib.h>
Line 21 
Line 23 
   
 #include "libman.h"  #include "libman.h"
   
   
 static  u_char          table[26 * 6];  static  u_char          table[26 * 6];
   
   /*
    * 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
 man_hash_init(void)  man_hash_init(void)
 {  {
Line 48  man_hash_init(void)
Line 52  man_hash_init(void)
                 assert(j < 6);                  assert(j < 6);
         }          }
 }  }
   
   
 int  int
 man_hash_find(const char *tmp)  man_hash_find(const char *tmp)

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

CVSweb