source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Get rid of two empty wrapper functions.
@ 2015-04-23 15:36 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2015-04-23 15:36 UTC (permalink / raw)
  To: source

Log Message:
-----------
Get rid of two empty wrapper functions.  No functional change.

Modified Files:
--------------
    mdocml:
        libman.h
        libmdoc.h
        man.c
        man_macro.c
        mdoc.c
        mdoc_macro.c

Revision Data
-------------
Index: man_macro.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/man_macro.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -Lman_macro.c -Lman_macro.c -u -p -r1.108 -r1.109
--- man_macro.c
+++ man_macro.c
@@ -404,9 +404,8 @@ in_line_eoln(MACRO_PROT_ARGS)
 		man_valid_post(man);
 }
 
-
 void
-man_macroend(struct roff_man *man)
+man_endparse(struct roff_man *man)
 {
 
 	man_unscope(man, man->first);
Index: mdoc_macro.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mdoc_macro.c,v
retrieving revision 1.194
retrieving revision 1.195
diff -Lmdoc_macro.c -Lmdoc_macro.c -u -p -r1.194 -r1.195
--- mdoc_macro.c
+++ mdoc_macro.c
@@ -210,7 +210,7 @@ const	struct mdoc_macro * const mdoc_mac
  * are errors.
  */
 void
-mdoc_macroend(struct roff_man *mdoc)
+mdoc_endparse(struct roff_man *mdoc)
 {
 	struct roff_node *n;
 
Index: man.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/man.c,v
retrieving revision 1.161
retrieving revision 1.162
diff -Lman.c -Lman.c -u -p -r1.161 -r1.162
--- man.c
+++ man.c
@@ -55,13 +55,6 @@ static	int		 man_ptext(struct roff_man *
 static	int		 man_pmacro(struct roff_man *, int, char *, int);
 
 
-void
-man_endparse(struct roff_man *man)
-{
-
-	man_macroend(man);
-}
-
 int
 man_parseln(struct roff_man *man, int ln, char *buf, int offs)
 {
Index: libmdoc.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/libmdoc.h,v
retrieving revision 1.104
retrieving revision 1.105
diff -Llibmdoc.h -Llibmdoc.h -u -p -r1.104 -r1.105
--- libmdoc.h
+++ libmdoc.h
@@ -84,7 +84,6 @@ void		  mdoc_argv(struct roff_man *, int
 			struct mdoc_arg **, int *, char *);
 enum margserr	  mdoc_args(struct roff_man *, int,
 			int *, char *, int, char **);
-void		  mdoc_macroend(struct roff_man *);
 enum mdelim	  mdoc_isdelim(const char *);
 
 __END_DECLS
Index: mdoc.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mdoc.c,v
retrieving revision 1.250
retrieving revision 1.251
diff -Lmdoc.c -Lmdoc.c -u -p -r1.250 -r1.251
--- mdoc.c
+++ mdoc.c
@@ -89,13 +89,6 @@ static	int		  mdoc_ptext(struct roff_man
 static	int		  mdoc_pmacro(struct roff_man *, int, char *, int);
 
 
-void
-mdoc_endparse(struct roff_man *mdoc)
-{
-
-	mdoc_macroend(mdoc);
-}
-
 /*
  * Main parse routine.  Parses a single line -- really just hands off to
  * the macro (mdoc_pmacro()) or text parser (mdoc_ptext()).
Index: libman.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/libman.h,v
retrieving revision 1.76
retrieving revision 1.77
diff -Llibman.h -Llibman.h -u -p -r1.76 -r1.77
--- libman.h
+++ libman.h
@@ -37,7 +37,6 @@ extern	const struct man_macro *const man
 __BEGIN_DECLS
 
 int		  man_hash_find(const char *);
-void		  man_macroend(struct roff_man *);
 void		  man_valid_post(struct roff_man *);
 void		  man_unscope(struct roff_man *, const struct roff_node *);
 
--
 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:[~2015-04-23 15:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-23 15:36 mdocml: Get rid of two empty wrapper functions 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).