xref: /minix3/external/bsd/mdocml/dist/st.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc /*	Id: st.c,v 1.9 2011/03/22 14:33:05 kristaps Exp  */
2d65f6f70SBen Gras /*
3d65f6f70SBen Gras  * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
4d65f6f70SBen Gras  *
5d65f6f70SBen Gras  * Permission to use, copy, modify, and distribute this software for any
6d65f6f70SBen Gras  * purpose with or without fee is hereby granted, provided that the above
7d65f6f70SBen Gras  * copyright notice and this permission notice appear in all copies.
8d65f6f70SBen Gras  *
9d65f6f70SBen Gras  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10d65f6f70SBen Gras  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11d65f6f70SBen Gras  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12d65f6f70SBen Gras  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13d65f6f70SBen Gras  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14d65f6f70SBen Gras  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15d65f6f70SBen Gras  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16d65f6f70SBen Gras  */
17d65f6f70SBen Gras #ifdef HAVE_CONFIG_H
18d65f6f70SBen Gras #include "config.h"
19d65f6f70SBen Gras #endif
20d65f6f70SBen Gras 
21d65f6f70SBen Gras #include <stdlib.h>
22d65f6f70SBen Gras #include <string.h>
23d65f6f70SBen Gras #include <time.h>
24d65f6f70SBen Gras 
2592395e9cSLionel Sambuc #include "mdoc.h"
26d65f6f70SBen Gras #include "mandoc.h"
27d65f6f70SBen Gras #include "libmdoc.h"
28d65f6f70SBen Gras 
29d65f6f70SBen Gras #define LINE(x, y) \
30d65f6f70SBen Gras 	if (0 == strcmp(p, x)) return(y);
31d65f6f70SBen Gras 
32d65f6f70SBen Gras const char *
mdoc_a2st(const char * p)33d65f6f70SBen Gras mdoc_a2st(const char *p)
34d65f6f70SBen Gras {
35d65f6f70SBen Gras 
36d65f6f70SBen Gras #include "st.in"
37d65f6f70SBen Gras 
38d65f6f70SBen Gras 	return(NULL);
39d65f6f70SBen Gras }
40