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