summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/buf.c
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1999-08-17 00:39:26 +0000
committerhoek <hoek@FreeBSD.org>1999-08-17 00:39:26 +0000
commit5d62bbe5a50f3c7ebe77803935bb73d1b6470757 (patch)
treec22ea5a1bb41e5c36b9b7c6a2f05399b0e89a84b /usr.bin/make/buf.c
parent33f15d9b593b0367efcf31b8b6b795c36746c989 (diff)
downloadFreeBSD-src-5d62bbe5a50f3c7ebe77803935bb73d1b6470757.zip
FreeBSD-src-5d62bbe5a50f3c7ebe77803935bb73d1b6470757.tar.gz
Merge style- and trivial- only changes from OpenBSD (dated 1999/07/29-19:55+1).
Obtained from: OpenBSD, sometimes indirected from NetBSD; myself
Diffstat (limited to 'usr.bin/make/buf.c')
-rw-r--r--usr.bin/make/buf.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/make/buf.c b/usr.bin/make/buf.c
index 462cbef..8ed5aa7 100644
--- a/usr.bin/make/buf.c
+++ b/usr.bin/make/buf.c
@@ -35,11 +35,16 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: buf.c,v 1.8 1997/02/22 19:27:06 peter Exp $
*/
#ifndef lint
+#if 0
static char sccsid[] = "@(#)buf.c 8.1 (Berkeley) 6/6/93";
+#else
+static const char rcsid[] =
+ "$Id";
+#endif
#endif /* not lint */
/*-
@@ -126,7 +131,7 @@ void
Buf_AddBytes (bp, numBytes, bytesPtr)
register Buffer bp;
int numBytes;
- Byte *bytesPtr;
+ const Byte *bytesPtr;
{
BufExpand (bp, numBytes);
@@ -454,7 +459,7 @@ Buf_Destroy (buf, freeData)
void
Buf_ReplaceLastByte (buf, byte)
Buffer buf; /* buffer to augment */
- Byte byte; /* byte to be written */
+ int byte; /* byte to be written */
{
if (buf->inPtr == buf->outPtr)
Buf_AddByte(buf, byte);
OpenPOWER on IntegriCloud