From: bcallah Date: Fri, 8 May 2015 12:35:08 +0000 (+0000) Subject: Remove ereply prototype since it is never used. Tweak a comment to reflect X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4ed048d840baa84ea5eb2625361af08472f5dee4;p=openbsd Remove ereply prototype since it is never used. Tweak a comment to reflect ereply removal. ok jasper@ florian@ --- 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).