xref: /illumos-gate/usr/src/cmd/mandoc/msec.c (revision cec8643b)
1*cec8643bSMichal Nowak /*	$Id: msec.c,v 1.16 2018/12/14 01:18:26 schwarze Exp $ */
295c635efSGarrett D'Amore /*
395c635efSGarrett D'Amore  * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
495c635efSGarrett D'Amore  *
595c635efSGarrett D'Amore  * Permission to use, copy, modify, and distribute this software for any
695c635efSGarrett D'Amore  * purpose with or without fee is hereby granted, provided that the above
795c635efSGarrett D'Amore  * copyright notice and this permission notice appear in all copies.
895c635efSGarrett D'Amore  *
995c635efSGarrett D'Amore  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1095c635efSGarrett D'Amore  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1195c635efSGarrett D'Amore  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1295c635efSGarrett D'Amore  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1395c635efSGarrett D'Amore  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1495c635efSGarrett D'Amore  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1595c635efSGarrett D'Amore  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1695c635efSGarrett D'Amore  */
1795c635efSGarrett D'Amore #include "config.h"
1895c635efSGarrett D'Amore 
19260e9a87SYuri Pankov #include <sys/types.h>
20260e9a87SYuri Pankov 
21*cec8643bSMichal Nowak #include <stdio.h>
2295c635efSGarrett D'Amore #include <string.h>
2395c635efSGarrett D'Amore 
2495c635efSGarrett D'Amore #include "mandoc.h"
2595c635efSGarrett D'Amore #include "libmandoc.h"
2695c635efSGarrett D'Amore 
2795c635efSGarrett D'Amore #define LINE(x, y) \
2895c635efSGarrett D'Amore 	if (0 == strcmp(p, x)) return(y);
2995c635efSGarrett D'Amore 
3095c635efSGarrett D'Amore const char *
mandoc_a2msec(const char * p)3195c635efSGarrett D'Amore mandoc_a2msec(const char *p)
3295c635efSGarrett D'Amore {
3395c635efSGarrett D'Amore 
3495c635efSGarrett D'Amore #include "msec.in"
3595c635efSGarrett D'Amore 
36371584c2SYuri Pankov 	return NULL;
3795c635efSGarrett D'Amore }
38