shithub: neatroff

Download patch

ref: bf62c957f310d3d127093f472d98ed1e3bf94490
parent: 5dbd616947a3e745c06103627574ca31e706b50a
author: Ali Gholami Rudi <ali@rudi.ir>
date: Sat Nov 24 13:24:53 EST 2012

out: rename out_put() to output()

--- a/out.c
+++ b/out.c
@@ -73,7 +73,7 @@
 	return s;
 }
 
-void out_put(char *s)
+void output(char *s)
 {
 	struct glyph *g;
 	char c[LLEN];
--- a/ren.c
+++ b/ren.c
@@ -180,7 +180,7 @@
 	buf[buflen] = '\0';
 	if (buflen) {
 		adjust(out, adj);
-		out_put(out);
+		output(out);
 	}
 	if (req_sp)
 		printf("v%d\n", req_sp);
--- a/xroff.h
+++ b/xroff.h
@@ -83,7 +83,7 @@
 
 /* rendering */
 void render(void);
-void out_put(char *s);
+void output(char *s);
 
 /* troff commands */
 void tr_br(int argc, char **args);