xref: /netbsd-src/external/bsd/mdocml/dist/lib.c (revision 544c191c349c1704c9d5e679d12ec15cff579663)
1*544c191cSchristos /*	Id: lib.c,v 1.15 2018/12/13 11:55:46 schwarze Exp  */
24154958bSjoerg /*
36c26a9aaSjoerg  * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
44154958bSjoerg  *
54154958bSjoerg  * Permission to use, copy, modify, and distribute this software for any
64154958bSjoerg  * purpose with or without fee is hereby granted, provided that the above
74154958bSjoerg  * copyright notice and this permission notice appear in all copies.
84154958bSjoerg  *
94154958bSjoerg  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
104154958bSjoerg  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
114154958bSjoerg  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
124154958bSjoerg  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
134154958bSjoerg  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
144154958bSjoerg  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
154154958bSjoerg  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
164154958bSjoerg  */
17d5e63c8dSjoerg #include "config.h"
18d5e63c8dSjoerg 
19fec65c98Schristos #include <sys/types.h>
204154958bSjoerg #include <string.h>
214154958bSjoerg 
229ff1f2acSchristos #include "roff.h"
234154958bSjoerg #include "libmdoc.h"
244154958bSjoerg 
254154958bSjoerg #define LINE(x, y) \
264154958bSjoerg 	if (0 == strcmp(p, x)) return(y);
274154958bSjoerg 
284154958bSjoerg const char *
mdoc_a2lib(const char * p)294154958bSjoerg mdoc_a2lib(const char *p)
304154958bSjoerg {
314154958bSjoerg 
324154958bSjoerg #include "lib.in"
334154958bSjoerg 
349ff1f2acSchristos 	return NULL;
354154958bSjoerg }
36