summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Callahan <bcallah@cvs.openbsd.org>2015-05-08 12:35:09 +0000
committerBrian Callahan <bcallah@cvs.openbsd.org>2015-05-08 12:35:09 +0000
commit6853861d08aef07038066c370c66e31d160d4e1e (patch)
treecb6d9b69947b082649f8542db49ea7969eed1ad5
parentb075b3218d95603f2ceb05f08c482c43d6c86231 (diff)
Remove ereply prototype since it is never used. Tweak a comment to reflect
ereply removal. ok jasper@ florian@
-rw-r--r--usr.bin/mg/def.h3
-rw-r--r--usr.bin/mg/echo.c8
2 files changed, 5 insertions, 6 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index 418fcb169ee..73784d3d436 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.145 2015/03/25 20:53:31 bcallah Exp $ */
+/* $OpenBSD: def.h,v 1.146 2015/05/08 12:35:08 bcallah Exp $ */
/* This file is in the public domain. */
@@ -460,7 +460,6 @@ int eyorn(const char *);
int eynorr(const char *);
int eyesno(const char *);
void ewprintf(const char *fmt, ...);
-char *ereply(const char *, char *, size_t, ...);
char *eread(const char *, char *, size_t, int, ...);
int getxtra(struct list *, struct list *, int, int);
void free_file_list(struct list *);
diff --git a/usr.bin/mg/echo.c b/usr.bin/mg/echo.c
index a2b361d7633..e71dd64fa7b 100644
--- a/usr.bin/mg/echo.c
+++ b/usr.bin/mg/echo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: echo.c,v 1.58 2015/03/19 21:22:15 bcallah Exp $ */
+/* $OpenBSD: echo.c,v 1.59 2015/05/08 12:35:08 bcallah Exp $ */
/* This file is in the public domain. */
@@ -821,9 +821,9 @@ ewprintf(const char *fmt, ...)
}
/*
- * Printf style formatting. This is called by both "ewprintf" and "ereply"
- * to provide formatting services to their clients. The move to the start
- * of the echo line, and the erase to the end of the echo line, is done by
+ * Printf style formatting. This is called by "ewprintf" to provide
+ * formatting services to its clients. The move to the start of the
+ * echo line, and the erase to the end of the echo line, is done by
* the caller.
* %c prints the "name" of the supplied character.
* %k prints the name of the current key (and takes no arguments).