=================================================================== RCS file: /cvs/mandoc/Attic/ascii.c,v retrieving revision 1.2 retrieving revision 1.4 diff -u -p -r1.2 -r1.4 --- mandoc/Attic/ascii.c 2009/03/17 13:35:46 1.2 +++ mandoc/Attic/ascii.c 2009/03/20 21:58:38 1.4 @@ -1,4 +1,4 @@ -/* $Id: ascii.c,v 1.2 2009/03/17 13:35:46 kristaps Exp $ */ +/* $Id: ascii.c,v 1.4 2009/03/20 21:58:38 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * @@ -62,7 +62,7 @@ static inline int match(const struct line *, void -asciifree(void *arg) +term_asciifree(void *arg) { struct asciitab *tab; @@ -75,7 +75,7 @@ asciifree(void *arg) void * -ascii2htab(void) +term_ascii2htab(void) { struct asciitab *tab; void **htab; @@ -92,7 +92,6 @@ ascii2htab(void) if (NULL == (tab = malloc(sizeof(struct asciitab)))) err(1, "malloc"); - assert(0 == sizeof(lines) % sizeof(struct line)); len = sizeof(lines) / sizeof(struct line); if (NULL == (p = calloc((size_t)len, sizeof(struct linep)))) @@ -132,7 +131,7 @@ ascii2htab(void) const char * -a2ascii(void *arg, const char *p, size_t sz, size_t *rsz) +term_a2ascii(void *arg, const char *p, size_t sz, size_t *rsz) { struct asciitab *tab; struct linep *pp, *prev;