aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make/buf.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/buf.h')
-rw-r--r--usr.bin/make/buf.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/usr.bin/make/buf.h b/usr.bin/make/buf.h
index 63c85c0759249..3eb9b68f2d150 100644
--- a/usr.bin/make/buf.h
+++ b/usr.bin/make/buf.h
@@ -1,6 +1,6 @@
/*
- * Copyright (c) 1988, 1989, 1990, 1993
- * The Regents of the University of California. All rights reserved.
+ * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
+ * Copyright (c) 1988, 1989 by Adam de Boor
* Copyright (c) 1989 by Berkeley Softworks
* All rights reserved.
*
@@ -48,7 +48,7 @@
#include "sprite.h"
-typedef unsigned char Byte;
+typedef char Byte;
typedef struct Buffer {
int size; /* Current size of the buffer */
@@ -65,16 +65,16 @@ typedef struct Buffer {
#define BUF_ERROR 256
-void Buf_AddBytes __P((Buffer, int, Byte *));
-void Buf_Destroy __P((Buffer, Boolean));
-void Buf_Discard __P((Buffer, int));
-Byte *Buf_GetAll __P((Buffer, int *));
-int Buf_GetByte __P((Buffer));
-int Buf_GetBytes __P((Buffer, int, Byte *));
-Buffer Buf_Init __P((int));
-void Buf_OvAddByte __P((Buffer, int));
-int Buf_Size __P((Buffer));
-void Buf_UngetByte __P((Buffer, int));
-void Buf_UngetBytes __P((Buffer, int, Byte *));
+void Buf_OvAddByte __P((Buffer, int));
+void Buf_AddBytes __P((Buffer, int, Byte *));
+void Buf_UngetByte __P((Buffer, int));
+void Buf_UngetBytes __P((Buffer, int, Byte *));
+int Buf_GetByte __P((Buffer));
+int Buf_GetBytes __P((Buffer, int, Byte *));
+Byte *Buf_GetAll __P((Buffer, int *));
+void Buf_Discard __P((Buffer, int));
+int Buf_Size __P((Buffer));
+Buffer Buf_Init __P((int));
+void Buf_Destroy __P((Buffer, Boolean));
#endif /* _BUF_H */