From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s69C94je014818 for ; Wed, 9 Jul 2014 08:09:04 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id s69C94wL013529; Wed, 9 Jul 2014 08:09:04 -0400 (EDT) Date: Wed, 9 Jul 2014 08:09:04 -0400 (EDT) Message-Id: <201407091209.s69C94wL013529@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: remove obsolete __sun includes and improve some whitespace and X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- remove obsolete __sun includes and improve some whitespace and comments Modified Files: -------------- mdocml: cgi.c Revision Data ------------- Index: cgi.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/cgi.c,v retrieving revision 1.56 retrieving revision 1.57 diff -Lcgi.c -Lcgi.c -u -p -r1.56 -r1.57 --- cgi.c +++ cgi.c @@ -27,13 +27,6 @@ #include #include -#if defined(__sun) -/* for stat() */ -#include -#include -#include -#endif - #include "mandoc.h" #include "mandoc_aux.h" #include "main.h" @@ -61,7 +54,7 @@ struct query { struct req { struct query q; char **p; /* array of available manroots */ - size_t psz; + size_t psz; /* number of available manroots */ enum page page; }; @@ -129,6 +122,7 @@ html_putchar(char c) break; } } + static void http_printquery(const struct req *req) { @@ -150,7 +144,6 @@ http_printquery(const struct req *req) http_print(req->q.expr ? req->q.expr : ""); } } - static void html_printquery(const struct req *req) -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv