=================================================================== RCS file: /cvs/mandoc/libmdoc.h,v retrieving revision 1.1 retrieving revision 1.4 diff -u -p -r1.1 -r1.4 --- mandoc/libmdoc.h 2009/03/23 14:22:11 1.1 +++ mandoc/libmdoc.h 2009/04/02 06:51:44 1.4 @@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.1 2009/03/23 14:22:11 kristaps Exp $ */ +/* $Id: libmdoc.h,v 1.4 2009/04/02 06:51:44 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -111,9 +111,9 @@ int mdoc_tail_alloc(struct mdoc *, int, int, int); int mdoc_body_alloc(struct mdoc *, int, int, int); void mdoc_node_free(struct mdoc_node *); void mdoc_node_freelist(struct mdoc_node *); -void *mdoc_tokhash_alloc(void); -int mdoc_tokhash_find(const void *, const char *); -void mdoc_tokhash_free(void *); +void *mdoc_hash_alloc(void); +int mdoc_hash_find(const void *, const char *); +void mdoc_hash_free(void *); int mdoc_iscdelim(char); int mdoc_isdelim(const char *); size_t mdoc_isescape(const char *); @@ -148,12 +148,9 @@ int mdoc_args(struct mdoc *, int, /* FIXME: get rid of these. */ int xstrlcpys(char *, const struct mdoc_node *, size_t); -int xstrlcat(char *, const char *, size_t); -int xstrlcpy(char *, const char *, size_t); -int xstrcmp(const char *, const char *); void *xrealloc(void *, size_t); char *xstrdup(const char *); -int macro_end(struct mdoc *); +int mdoc_macroend(struct mdoc *); __END_DECLS