diff options
| author | christos <christos@NetBSD.org> | 2005-02-16 15:11:52 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2005-02-16 15:11:52 +0000 |
| commit | 63fca1366091cde6fda073e3035fdec3873df243 (patch) | |
| tree | cc821e5d3f62046819e5c7eda1d86d105b220cf5 /usr.bin/make/buf.c | |
| parent | da725d663a4307983bcdd44787459e29854695fc (diff) | |
PR/29203, PR/29204: Max Okumoto: KNF changes to make [no functional changes]
Diffstat (limited to 'usr.bin/make/buf.c')
| -rw-r--r-- | usr.bin/make/buf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/make/buf.c b/usr.bin/make/buf.c index d51d6922efd..63ab48a505c 100644 --- a/usr.bin/make/buf.c +++ b/usr.bin/make/buf.c @@ -1,4 +1,4 @@ -/* $NetBSD: buf.c,v 1.15 2004/05/07 00:04:38 ross Exp $ */ +/* $NetBSD: buf.c,v 1.16 2005/02/16 15:11:52 christos Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -70,14 +70,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: buf.c,v 1.15 2004/05/07 00:04:38 ross Exp $"; +static char rcsid[] = "$NetBSD: buf.c,v 1.16 2005/02/16 15:11:52 christos Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)buf.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: buf.c,v 1.15 2004/05/07 00:04:38 ross Exp $"); +__RCSID("$NetBSD: buf.c,v 1.16 2005/02/16 15:11:52 christos Exp $"); #endif #endif /* not lint */ #endif @@ -267,13 +267,13 @@ Buf_Init(int size) { Buffer bp; /* New Buffer */ - bp = (Buffer)emalloc(sizeof(*bp)); + bp = emalloc(sizeof(*bp)); if (size <= 0) { size = BUF_DEF_SIZE; } bp->left = bp->size = size; - bp->buffer = (Byte *)emalloc(size); + bp->buffer = emalloc(size); bp->inPtr = bp->outPtr = bp->buffer; *bp->inPtr = 0; |
