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

Diff for /mandoc/cgi.c between version 1.56 and 1.57

version 1.56, 2014/07/09 11:34:46 version 1.57, 2014/07/09 12:09:04
Line 27 
Line 27 
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
   
 #if defined(__sun)  
 /* for stat() */  
 #include <fcntl.h>  
 #include <sys/types.h>  
 #include <sys/stat.h>  
 #endif  
   
 #include "mandoc.h"  #include "mandoc.h"
 #include "mandoc_aux.h"  #include "mandoc_aux.h"
 #include "main.h"  #include "main.h"
Line 61  struct query {
Line 54  struct query {
 struct  req {  struct  req {
         struct query     q;          struct query     q;
         char            **p; /* array of available manroots */          char            **p; /* array of available manroots */
         size_t           psz;          size_t           psz; /* number of available manroots */
         enum page        page;          enum page        page;
 };  };
   
Line 129  html_putchar(char c)
Line 122  html_putchar(char c)
                 break;                  break;
         }          }
 }  }
   
 static void  static void
 http_printquery(const struct req *req)  http_printquery(const struct req *req)
 {  {
Line 150  http_printquery(const struct req *req)
Line 144  http_printquery(const struct req *req)
                 http_print(req->q.expr ? req->q.expr : "");                  http_print(req->q.expr ? req->q.expr : "");
         }          }
 }  }
   
   
 static void  static void
 html_printquery(const struct req *req)  html_printquery(const struct req *req)

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

CVSweb