summaryrefslogtreecommitdiff
path: root/usr.bin/cmp/regular.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cmp/regular.c')
-rw-r--r--usr.bin/cmp/regular.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/usr.bin/cmp/regular.c b/usr.bin/cmp/regular.c
index 63c663f..1112def 100644
--- a/usr.bin/cmp/regular.c
+++ b/usr.bin/cmp/regular.c
@@ -29,15 +29,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)regular.c 8.3 (Berkeley) 4/2/94";
-#else
-__RCSID("$NetBSD: regular.c,v 1.24 2013/11/20 17:19:14 kleink Exp $");
-#endif
-#endif /* not lint */
-
#include <sys/param.h>
#include <sys/mman.h>
#include <sys/stat.h>
@@ -54,7 +45,7 @@ void
c_regular(int fd1, const char *file1, off_t skip1, off_t len1,
int fd2, const char *file2, off_t skip2, off_t len2)
{
- u_char ch, *p1, *p2;
+ unsigned char ch, *p1, *p2;
off_t byte, length, line;
int dfound;
size_t blk_sz, blk_cnt;