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

Diff for /mandoc/Attic/mdoclint.c between version 1.1 and 1.2

version 1.1, 2009/02/23 13:05:06 version 1.2, 2009/03/06 14:13:47
Line 28  int
Line 28  int
 main(int argc, char *argv[])  main(int argc, char *argv[])
 {  {
         struct mmain    *p;          struct mmain    *p;
           int              c;
         const struct mdoc *mdoc;          const struct mdoc *mdoc;
   
         p = mmain_alloc();          p = mmain_alloc();
   
         if ( ! mmain_getopt(p, argc, argv, NULL, NULL, NULL, NULL))          c = mmain_getopt(p, argc, argv, NULL, NULL, NULL, NULL);
                 mmain_exit(p, 1);          if (1 != c)
                   mmain_exit(p, -1 == c ? 1 : 0);
   
         if (NULL == (mdoc = mmain_mdoc(p)))          if (NULL == (mdoc = mmain_mdoc(p)))
                 mmain_exit(p, 1);                  mmain_exit(p, 1);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb