[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.6 and 1.7

version 1.6, 2014/08/16 19:00:01 version 1.7, 2020/06/15 01:37:15
Line 1 
Line 1 
 #include "config.h"  /* $Id$ */
   
 #if HAVE_OHASH  
   
 int dummy;  
   
 #else  
   
 /* $OpenBSD$ */  /* $OpenBSD$ */
   
 /* Copyright (c) 1999, 2004 Marc Espie <espie@openbsd.org>  /* Copyright (c) 1999, 2004 Marc Espie <espie@openbsd.org>
Line 22  int dummy;
Line 15  int dummy;
  * 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 "config.h"
   
 #include <sys/types.h>  #include <sys/types.h>
   
 #include <stddef.h>  #include <stddef.h>
 #include <stdint.h>  #include <stdint.h>
 #include <stdlib.h>  #include <stdlib.h>
Line 335  ohash_qlookupi(struct ohash *h, const char *s, const c
Line 328  ohash_qlookupi(struct ohash *h, const char *s, const c
         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);
 }  }
   
 #endif /*!HAVE_OHASH*/  

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

CVSweb