xref: /illumos-gate/usr/src/cmd/mandoc/mandoc_ohash.h (revision 371584c2)
1*371584c2SYuri Pankov /*	$Id: mandoc_ohash.h,v 1.2 2015/11/07 14:01:16 schwarze Exp $	*/
295c635efSGarrett D'Amore /*
3*371584c2SYuri Pankov  * Copyright (c) 2015 Ingo Schwarze <schwarze@openbsd.org>
495c635efSGarrett D'Amore  *
595c635efSGarrett D'Amore  * Permission to use, copy, modify, and distribute this software for any
695c635efSGarrett D'Amore  * purpose with or without fee is hereby granted, provided that the above
795c635efSGarrett D'Amore  * copyright notice and this permission notice appear in all copies.
895c635efSGarrett D'Amore  *
995c635efSGarrett D'Amore  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1095c635efSGarrett D'Amore  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1195c635efSGarrett D'Amore  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1295c635efSGarrett D'Amore  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1395c635efSGarrett D'Amore  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1495c635efSGarrett D'Amore  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1595c635efSGarrett D'Amore  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1695c635efSGarrett D'Amore  */
17*371584c2SYuri Pankov #if HAVE_OHASH
18*371584c2SYuri Pankov #include <ohash.h>
19*371584c2SYuri Pankov #else
20*371584c2SYuri Pankov #include "compat_ohash.h"
21*371584c2SYuri Pankov #endif
2295c635efSGarrett D'Amore 
23*371584c2SYuri Pankov void		  mandoc_ohash_init(struct ohash *, unsigned int, ptrdiff_t);
24