source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: remove unneccessary inclusion protection; patch from deraadt@
@ 2014-12-01  4:05 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-12-01  4:05 UTC (permalink / raw)
  To: source

Log Message:
-----------
remove unneccessary inclusion protection; patch from deraadt@

Modified Files:
--------------
    mdocml:
        html.h
        libman.h
        libmandoc.h
        libmdoc.h
        libroff.h
        main.h
        man.h
        mandoc.h
        mandoc_aux.h
        manpath.h
        mansearch.h
        mdoc.h
        out.h
        term.h

Revision Data
-------------
Index: man.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/man.h,v
retrieving revision 1.66
retrieving revision 1.67
diff -Lman.h -Lman.h -u -p -r1.66 -r1.67
--- man.h
+++ man.h
@@ -15,8 +15,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef MAN_H
-#define MAN_H
 
 enum	mant {
 	MAN_br = 0,
@@ -116,5 +114,3 @@ const struct mparse   *man_mparse(const 
 void man_deroff(char **, const struct man_node *);
 
 __END_DECLS
-
-#endif /*!MAN_H*/
Index: main.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/main.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -Lmain.h -Lmain.h -u -p -r1.17 -r1.18
--- main.h
+++ main.h
@@ -14,8 +14,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef	MAIN_H
-#define	MAIN_H
 
 __BEGIN_DECLS
 
@@ -56,5 +54,3 @@ void		  terminal_mdoc(void *, const stru
 void		  terminal_man(void *, const struct man *);
 
 __END_DECLS
-
-#endif /*!MAIN_H*/
Index: libmandoc.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/libmandoc.h,v
retrieving revision 1.49
retrieving revision 1.50
diff -Llibmandoc.h -Llibmandoc.h -u -p -r1.49 -r1.50
--- libmandoc.h
+++ libmandoc.h
@@ -15,8 +15,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef LIBMANDOC_H
-#define LIBMANDOC_H
 
 enum	rofferr {
 	ROFF_CONT, /* continue processing line */
@@ -91,5 +89,3 @@ const struct tbl_span	*roff_span(const s
 const struct eqn	*roff_eqn(const struct roff *);
 
 __END_DECLS
-
-#endif /*!LIBMANDOC_H*/
Index: out.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/out.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -Lout.h -Lout.h -u -p -r1.24 -r1.25
--- out.h
+++ out.h
@@ -14,8 +14,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef OUT_H
-#define OUT_H
 
 enum	roffscale {
 	SCALE_CM, /* centimeters (c) */
@@ -69,5 +67,3 @@ void		  tblcalc(struct rofftbl *tbl,
 			const struct tbl_span *, size_t);
 
 __END_DECLS
-
-#endif /*!OUT_H*/
Index: mandoc_aux.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mandoc_aux.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lmandoc_aux.h -Lmandoc_aux.h -u -p -r1.2 -r1.3
--- mandoc_aux.h
+++ mandoc_aux.h
@@ -15,8 +15,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef MANDOC_AUX_H
-#define MANDOC_AUX_H
 
 __BEGIN_DECLS
 
@@ -29,5 +27,3 @@ char		 *mandoc_strdup(const char *);
 char		 *mandoc_strndup(const char *, size_t);
 
 __END_DECLS
-
-#endif /*!MANDOC_AUX_H*/
Index: libman.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/libman.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -Llibman.h -Llibman.h -u -p -r1.65 -r1.66
--- libman.h
+++ libman.h
@@ -15,8 +15,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef LIBMAN_H
-#define LIBMAN_H
 
 enum	man_next {
 	MAN_NEXT_SIBLING = 0,
@@ -75,5 +73,3 @@ void		  man_valid_post(struct man *);
 void		  man_unscope(struct man *, const struct man_node *);
 
 __END_DECLS
-
-#endif /*!LIBMAN_H*/
Index: mansearch.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mansearch.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -Lmansearch.h -Lmansearch.h -u -p -r1.21 -r1.22
--- mansearch.h
+++ mansearch.h
@@ -15,8 +15,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef MANSEARCH_H
-#define MANSEARCH_H
 
 #define	MANDOC_DB	 "mandoc.db"
 
@@ -109,5 +107,3 @@ int	mansearch(const struct mansearch *cf
 void	mansearch_free(struct manpage *, size_t);
 
 __END_DECLS
-
-#endif /* MANSEARCH_H */
Index: manpath.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/manpath.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -Lmanpath.h -Lmanpath.h -u -p -r1.6 -r1.7
--- manpath.h
+++ manpath.h
@@ -15,8 +15,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef MANPATH_H
-#define MANPATH_H
 
 /*
  * Unsorted list of unique, absolute paths to be searched for manual
@@ -34,5 +32,3 @@ void	 manpath_parse(struct manpaths *, c
 void	 manpath_free(struct manpaths *);
 
 __END_DECLS
-
-#endif /*!MANPATH_H*/
Index: libroff.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/libroff.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -Llibroff.h -Llibroff.h -u -p -r1.31 -r1.32
--- libroff.h
+++ libroff.h
@@ -15,8 +15,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef LIBROFF_H
-#define LIBROFF_H
 
 __BEGIN_DECLS
 
@@ -84,5 +82,3 @@ enum rofferr	 eqn_read(struct eqn_node *
 			const char *, int, int *);
 
 __END_DECLS
-
-#endif /*LIBROFF_H*/
Index: term.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/term.h,v
retrieving revision 1.105
retrieving revision 1.106
diff -Lterm.h -Lterm.h -u -p -r1.105 -r1.106
--- term.h
+++ term.h
@@ -15,8 +15,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef TERM_H
-#define TERM_H
 
 __BEGIN_DECLS
 
@@ -134,5 +132,3 @@ void		  term_fontrepl(struct termp *, en
 void		  term_fontlast(struct termp *);
 
 __END_DECLS
-
-#endif /*!TERM_H*/
Index: mandoc.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mandoc.h,v
retrieving revision 1.173
retrieving revision 1.174
diff -Lmandoc.h -Lmandoc.h -u -p -r1.173 -r1.174
--- mandoc.h
+++ mandoc.h
@@ -15,8 +15,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef MANDOC_H
-#define MANDOC_H
 
 #define ASCII_NBRSP	 31  /* non-breaking space */
 #define	ASCII_HYPH	 30  /* breakable hyphen */
@@ -450,5 +448,3 @@ const char	 *mparse_strlevel(enum mandoc
 enum mandoclevel  mparse_wait(struct mparse *);
 
 __END_DECLS
-
-#endif /*!MANDOC_H*/
Index: libmdoc.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/libmdoc.h,v
retrieving revision 1.95
retrieving revision 1.96
diff -Llibmdoc.h -Llibmdoc.h -u -p -r1.95 -r1.96
--- libmdoc.h
+++ libmdoc.h
@@ -15,8 +15,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef LIBMDOC_H
-#define LIBMDOC_H
 
 enum	mdoc_next {
 	MDOC_NEXT_SIBLING = 0,
@@ -129,5 +127,3 @@ void		  mdoc_macroend(struct mdoc *);
 enum mdelim	  mdoc_isdelim(const char *);
 
 __END_DECLS
-
-#endif /*!LIBMDOC_H*/
Index: html.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/html.h,v
retrieving revision 1.67
retrieving revision 1.68
diff -Lhtml.h -Lhtml.h -u -p -r1.67 -r1.68
--- html.h
+++ html.h
@@ -14,8 +14,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef HTML_H
-#define HTML_H
 
 __BEGIN_DECLS
 
@@ -176,5 +174,3 @@ void		  buffmt_includes(struct html *, c
 int		  html_strlen(const char *);
 
 __END_DECLS
-
-#endif /*!HTML_H*/
Index: mdoc.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mdoc.h,v
retrieving revision 1.131
retrieving revision 1.132
diff -Lmdoc.h -Lmdoc.h -u -p -r1.131 -r1.132
--- mdoc.h
+++ mdoc.h
@@ -14,8 +14,6 @@
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
-#ifndef MDOC_H
-#define MDOC_H
 
 enum	mdoct {
 	MDOC_Ap = 0,
@@ -395,5 +393,3 @@ const struct mdoc_meta *mdoc_meta(const 
 void mdoc_deroff(char **, const struct mdoc_node *);
 
 __END_DECLS
-
-#endif /*!MDOC_H*/
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-01  4:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-01  4:05 mdocml: remove unneccessary inclusion protection; patch from deraadt@ schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).