diff options
author | steve <steve@FreeBSD.org> | 1997-04-28 03:27:12 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1997-04-28 03:27:12 +0000 |
commit | 6186f8a0bf53bb3f30c62b4ba61b37774ba66034 (patch) | |
tree | ffc5323c827e93b890fd25b597e0c29fcb8ce834 /bin/sh/output.c | |
parent | 1601bfa8636bfdd309ebdd88f61613e883a3e006 (diff) | |
download | FreeBSD-src-6186f8a0bf53bb3f30c62b4ba61b37774ba66034.zip FreeBSD-src-6186f8a0bf53bb3f30c62b4ba61b37774ba66034.tar.gz |
Remove an extra semicolon and nuke register keyword usage.
Diffstat (limited to 'bin/sh/output.c')
-rw-r--r-- | bin/sh/output.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/sh/output.c b/bin/sh/output.c index 5f315a8..449e506 100644 --- a/bin/sh/output.c +++ b/bin/sh/output.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: output.c,v 1.7 1997/02/22 13:58:41 peter Exp $ */ #ifndef lint @@ -79,7 +79,7 @@ static char const sccsid[] = "@(#)output.c 8.2 (Berkeley) 5/4/95"; struct output output = {NULL, 0, NULL, OUTBUFSIZ, 1, 0}; -struct output errout = {NULL, 0, NULL, 100, 2, 0};; +struct output errout = {NULL, 0, NULL, 100, 2, 0}; struct output memout = {NULL, 0, NULL, 0, MEM_OUT, 0}; struct output *out1 = &output; struct output *out2 = &errout; @@ -140,8 +140,8 @@ out2str(p) void outstr(p, file) - register const char *p; - register struct output *file; + const char *p; + struct output *file; { while (*p) outc(*p++, file); @@ -354,11 +354,11 @@ static const char digit[] = "0123456789ABCDEF"; void doformat(dest, f, ap) - register struct output *dest; - register char *f; /* format string */ + struct output *dest; + char *f; /* format string */ va_list ap; { - register char c; + char c; char temp[TEMPSIZE]; int flushleft; int sharp; |