[BACK]Return to mdoc_strings.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/mdoc_strings.c between version 1.9 and 1.11

version 1.9, 2009/07/04 09:01:55 version 1.11, 2009/10/26 04:09:46
Line 20 
Line 20 
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdio.h>  #include <stdio.h>
 #include <string.h>  #include <string.h>
   #include <time.h>
   
 #include "libmdoc.h"  #include "libmdoc.h"
   
Line 30  struct mdoc_secname {
Line 31  struct mdoc_secname {
         enum mdoc_sec    sec;   /* Corresponding section. */          enum mdoc_sec    sec;   /* Corresponding section. */
 };  };
   
 #define SECNAME_MAX     (18)  #define SECNAME_MAX     (20)
   
 static  const struct mdoc_secname secnames[SECNAME_MAX] = {  static  const struct mdoc_secname secnames[SECNAME_MAX] = {
         { "NAME", SEC_NAME },          { "NAME", SEC_NAME },
Line 38  static const struct mdoc_secname secnames[SECNAME_MAX]
Line 39  static const struct mdoc_secname secnames[SECNAME_MAX]
         { "SYNOPSIS", SEC_SYNOPSIS },          { "SYNOPSIS", SEC_SYNOPSIS },
         { "DESCRIPTION", SEC_DESCRIPTION },          { "DESCRIPTION", SEC_DESCRIPTION },
         { "IMPLEMENTATION NOTES", SEC_IMPLEMENTATION },          { "IMPLEMENTATION NOTES", SEC_IMPLEMENTATION },
           { "EXIT STATUS", SEC_EXIT_STATUS },
         { "RETURN VALUES", SEC_RETURN_VALUES },          { "RETURN VALUES", SEC_RETURN_VALUES },
         { "ENVIRONMENT", SEC_ENVIRONMENT },          { "ENVIRONMENT", SEC_ENVIRONMENT },
         { "FILES", SEC_FILES },          { "FILES", SEC_FILES },
Line 51  static const struct mdoc_secname secnames[SECNAME_MAX]
Line 53  static const struct mdoc_secname secnames[SECNAME_MAX]
         { "AUTHORS", SEC_AUTHORS },          { "AUTHORS", SEC_AUTHORS },
         { "CAVEATS", SEC_CAVEATS },          { "CAVEATS", SEC_CAVEATS },
         { "BUGS", SEC_BUGS },          { "BUGS", SEC_BUGS },
           { "SECURITY CONSIDERATIONS", SEC_SECURITY }
 };  };
   
 #ifdef __linux__  #ifdef __linux__

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.11

CVSweb