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

Diff for /mandoc/main.c between version 1.178 and 1.179

version 1.178, 2014/08/10 23:54:41 version 1.179, 2014/08/16 23:04:25
Line 68  struct curparse {
Line 68  struct curparse {
         char              outopts[BUFSIZ]; /* buf of output opts */          char              outopts[BUFSIZ]; /* buf of output opts */
 };  };
   
   #if HAVE_SQLITE3
   int                       apropos(int, char**);
   #endif
   
 static  int               moptions(int *, char *);  static  int               moptions(int *, char *);
 static  void              mmsg(enum mandocerr, enum mandoclevel,  static  void              mmsg(enum mandocerr, enum mandoclevel,
                                 const char *, int, int, const char *);                                  const char *, int, int, const char *);
Line 95  main(int argc, char *argv[])
Line 99  main(int argc, char *argv[])
                 progname = argv[0];                  progname = argv[0];
         else          else
                 ++progname;                  ++progname;
   
   #if HAVE_SQLITE3
           if (0 == strncmp(progname, "apropos", 7) ||
               0 == strncmp(progname, "whatis", 6))
                   return(apropos(argc, argv));
   #endif
   
         memset(&curp, 0, sizeof(struct curparse));          memset(&curp, 0, sizeof(struct curparse));
   

Legend:
Removed from v.1.178  
changed lines
  Added in v.1.179

CVSweb