xref: /minix3/external/bsd/mdocml/dist/msec.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc /*	Id: msec.c,v 1.10 2011/12/02 01:37:14 schwarze 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 
24d65f6f70SBen Gras #include "mandoc.h"
2592395e9cSLionel Sambuc #include "libmandoc.h"
26d65f6f70SBen Gras 
27d65f6f70SBen Gras #define LINE(x, y) \
28d65f6f70SBen Gras 	if (0 == strcmp(p, x)) return(y);
29d65f6f70SBen Gras 
30d65f6f70SBen Gras const char *
mandoc_a2msec(const char * p)3192395e9cSLionel Sambuc mandoc_a2msec(const char *p)
32d65f6f70SBen Gras {
33d65f6f70SBen Gras 
34d65f6f70SBen Gras #include "msec.in"
35d65f6f70SBen Gras 
36d65f6f70SBen Gras 	return(NULL);
37d65f6f70SBen Gras }
38