source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: schwarze@mdocml.bsd.lv
To: source@mdocml.bsd.lv
Subject: mdocml: Get rid of two empty wrapper functions.
Date: Thu, 23 Apr 2015 10:36:29 -0500 (EST)	[thread overview]
Message-ID: <17231741842507271608.enqueue@fantadrom.bsd.lv> (raw)

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

                 reply	other threads:[~2015-04-23 15:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17231741842507271608.enqueue@fantadrom.bsd.lv \
    --to=schwarze@mdocml.bsd.lv \
    --cc=source@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).