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

Diff for /mandoc/compat_ohash.c between version 1.1 and 1.2

version 1.1, 2012/06/09 11:00:13 version 1.2, 2014/01/04 14:09:28
Line 17  int dummy;
Line 17  int dummy;
 #include "compat_ohash.h"  #include "compat_ohash.h"
   
 struct _ohash_record {  struct _ohash_record {
         u_int32_t       hv;          uint32_t        hv;
         const char      *p;          const char      *p;
 };  };
   
Line 328  ohash_qlookup(struct ohash *h, const char *s)
Line 328  ohash_qlookup(struct ohash *h, const char *s)
 unsigned int  unsigned int
 ohash_qlookupi(struct ohash *h, const char *s, const char **e)  ohash_qlookupi(struct ohash *h, const char *s, const char **e)
 {  {
         u_int32_t hv;          uint32_t hv;
   
         hv = ohash_interval(s, e);          hv = ohash_interval(s, e);
         return ohash_lookup_interval(h, s, *e, hv);          return ohash_lookup_interval(h, s, *e, hv);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb